File tree Expand file tree Collapse file tree 5 files changed +20
-20
lines changed Expand file tree Collapse file tree 5 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -118,27 +118,27 @@ def ns_make_value(value)
118
118
#
119
119
# @see Concurrent::MutexAtomicBoolean
120
120
class AtomicBoolean < AtomicBooleanImplementation
121
-
121
+
122
122
# @!method initialize(initial = false)
123
123
# @!macro atomic_boolean_method_initialize
124
-
124
+
125
125
# @!method value
126
126
# @!macro atomic_boolean_method_value_get
127
-
127
+
128
128
# @!method value=(value)
129
129
# @!macro atomic_boolean_method_value_set
130
-
130
+
131
131
# @!method true?
132
132
# @!macro atomic_boolean_method_true_question
133
-
133
+
134
134
# @!method false?
135
135
# @!macro atomic_boolean_method_false_question
136
-
136
+
137
137
# @!method make_true
138
138
# @!macro atomic_boolean_method_make_true
139
-
139
+
140
140
# @!method make_false
141
141
# @!macro atomic_boolean_method_make_false
142
-
142
+
143
143
end
144
144
end
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ def range_check!(value)
145
145
#
146
146
# @see Concurrent::MutexAtomicFixnum
147
147
class AtomicFixnum < AtomicFixnumImplementation
148
-
148
+
149
149
# @!method initialize(initial = 0)
150
150
# @!macro atomic_fixnum_method_initialize
151
151
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ def set(value)
171
171
else
172
172
RubyThreadLocalVar
173
173
end
174
- private_constant :AtomicBooleanImplementation
174
+ private_constant :ThreadLocalVarImplementation
175
175
176
176
# @!macro thread_local_var
177
177
#
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ module Concurrent
7
7
end
8
8
9
9
FixedThreadPoolImplementation = case
10
- when Concurrent . on_jruby?
11
- JavaFixedThreadPool
12
- else
13
- RubyFixedThreadPool
14
- end
10
+ when Concurrent . on_jruby?
11
+ JavaFixedThreadPool
12
+ else
13
+ RubyFixedThreadPool
14
+ end
15
15
private_constant :FixedThreadPoolImplementation
16
16
17
17
# @!macro [attach] fixed_thread_pool
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ module Concurrent
7
7
end
8
8
9
9
SingleThreadExecutorImplementation = case
10
- when Concurrent . on_jruby?
11
- JavaSingleThreadExecutor
12
- else
13
- RubySingleThreadExecutor
14
- end
10
+ when Concurrent . on_jruby?
11
+ JavaSingleThreadExecutor
12
+ else
13
+ RubySingleThreadExecutor
14
+ end
15
15
private_constant :SingleThreadExecutorImplementation
16
16
17
17
# @!macro [attach] single_thread_executor
You can’t perform that action at this time.
0 commit comments