We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Thread.exclusive
1 parent 59fdbc1 commit 2fb854aCopy full SHA for 2fb854a
core/thread.rbs
@@ -829,13 +829,6 @@ class Thread < Object
829
#
830
def self.each_caller_location: () { (Backtrace::Location) -> void } -> nil
831
832
- # Wraps the block in a single, VM-global
833
- # [Thread::Mutex\#synchronize](https://docs.ruby-lang.org/en/master/Thread/Mutex.html#method-i-synchronize)
834
- # , returning the value of the block. A thread executing inside the
835
- # exclusive section will only block other threads which also use the
836
- # [::exclusive](Thread.downloaded.ruby_doc#method-c-exclusive) mechanism.
837
- def self.exclusive: () { () -> untyped } -> untyped
838
-
839
# <!--
840
# rdoc-file=thread.c
841
# - Thread.exit -> thread
0 commit comments