File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module Concurrent
4
4
5
5
class CyclicBarrier < Synchronization ::Object
6
6
7
- # @api private
7
+ # @!visibility private
8
8
Generation = Struct . new ( :status )
9
9
private_constant :Generation
10
10
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ module Concurrent
36
36
# @!visibility private
37
37
class AbstractThreadLocalVar
38
38
39
- # @api private
39
+ # @!visibility private
40
40
NIL_SENTINEL = Object . new
41
41
private_constant :NIL_SENTINEL
42
42
Original file line number Diff line number Diff line change 58
58
# @param [Object] new_value the new value
59
59
# @return [Object] the old value
60
60
#
61
- # @!method _compare_and_set
61
+ # @!method compare_and_set
62
62
# @!macro [new] atomic_reference_method_compare_and_set
63
63
#
64
64
# Atomically sets the value to the given updated value if
69
69
#
70
70
# @return [Boolean] `true` if successful. A `false` return indicates
71
71
# that the actual value was not equal to the expected value.
72
- #
73
- # @api private
74
72
75
73
require 'concurrent/atomic/atomic_reference'
76
74
require 'concurrent/atomic/atomic_boolean'
You can’t perform that action at this time.
0 commit comments