⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Mutex
/
View File Name :
cdesc-Mutex.ri
U:RDoc::NormalClass[iI" Mutex:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[I"RMutex implements a simple semaphore that can be used to coordinate access to ;TI"2shared data from multiple concurrent threads.;To:RDoc::Markup::BlankLine o; ;[I" Example:;T@o:RDoc::Markup::Verbatim;[I"semaphore = Mutex.new ;TI" ;TI"a = Thread.new { ;TI" semaphore.synchronize { ;TI"" # access shared resource ;TI" } ;TI"} ;TI" ;TI"b = Thread.new { ;TI" semaphore.synchronize { ;TI"" # access shared resource ;TI" } ;TI"};T:@format0: @fileI"thread_sync.c;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[[I"new;TI"thread_sync.c;T[:protected[ [:private[ [I" instance;T[[;[[I" lock;T@0[I"locked?;T@0[I"owned?;T@0[I" sleep;T@0[I"synchronize;T@0[I" try_lock;T@0[I"unlock;T@0[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@$@$cRDoc::TopLevel