File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -38,20 +38,26 @@ redef class Array
38
38
var mutex = new Mutex
39
39
40
40
redef fun add (e )
41
+ is
42
+ no_contract
41
43
do
42
44
mutex .lock
43
45
super
44
46
mutex .unlock
45
47
end
46
48
47
49
redef fun []=(index , e )
50
+ is
51
+ no_contract
48
52
do
49
53
mutex .lock
50
54
super
51
55
mutex .unlock
52
56
end
53
57
54
58
redef fun [](index )
59
+ is
60
+ no_contract
55
61
do
56
62
mutex .lock
57
63
var r = super
@@ -60,13 +66,17 @@ redef class Array
60
66
end
61
67
62
68
redef fun remove_at (index )
69
+ is
70
+ no_contract
63
71
do
64
72
mutex .lock
65
73
super
66
74
mutex .unlock
67
75
end
68
76
69
77
redef fun shift
78
+ is
79
+ no_contract
70
80
do
71
81
mutex .lock
72
82
var r = super
@@ -75,27 +85,35 @@ redef class Array
75
85
end
76
86
77
87
redef fun unshift (e )
88
+ is
89
+ no_contract
78
90
do
79
91
mutex .lock
80
92
super
81
93
mutex .unlock
82
94
end
83
95
84
96
redef fun insert_all (from , pos )
97
+ is
98
+ no_contract
85
99
do
86
100
mutex .lock
87
101
super
88
102
mutex .unlock
89
103
end
90
104
91
105
redef fun swap_at (a , b )
106
+ is
107
+ no_contract
92
108
do
93
109
mutex .lock
94
110
super
95
111
mutex .unlock
96
112
end
97
113
98
114
redef fun ==(o )
115
+ is
116
+ no_contract
99
117
do
100
118
mutex .lock
101
119
var r = super
@@ -104,6 +122,8 @@ redef class Array
104
122
end
105
123
106
124
redef fun enlarge (cap )
125
+ is
126
+ no_contract
107
127
do
108
128
mutex .lock
109
129
super
You can’t perform that action at this time.
0 commit comments