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
44
55 class CyclicBarrier < Synchronization ::Object
66
7- # @api private
7+ # @!visibility private
88 Generation = Struct . new ( :status )
99 private_constant :Generation
1010
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ module Concurrent
3636 # @!visibility private
3737 class AbstractThreadLocalVar
3838
39- # @api private
39+ # @!visibility private
4040 NIL_SENTINEL = Object . new
4141 private_constant :NIL_SENTINEL
4242
Original file line number Diff line number Diff line change 5858# @param [Object] new_value the new value
5959# @return [Object] the old value
6060#
61- # @!method _compare_and_set
61+ # @!method compare_and_set
6262# @!macro [new] atomic_reference_method_compare_and_set
6363#
6464# Atomically sets the value to the given updated value if
6969#
7070# @return [Boolean] `true` if successful. A `false` return indicates
7171# that the actual value was not equal to the expected value.
72- #
73- # @api private
7472
7573require 'concurrent/atomic/atomic_reference'
7674require 'concurrent/atomic/atomic_boolean'
You can’t perform that action at this time.
0 commit comments