Issue #11904 has been updated by atrox (atrox atrox).

File 228.gif added

ҧ է֧ߧ! 
 էݧ ߧ  ٧ߧѧܧ  ڧ֧ݧӧ,  ҧ֧ߧߧ էݧ ֧, ܧ ߧڧާѧ֧  ѧ٧ҧڧѧ֧  ڧ֧ݧӧ ߧէѧާ֧ߧ. 
 ڧߧ֧ߧ֧ ߧѧݧ ѧۧ ܧݧ ѧߧ ѧҧ Prorab2.ru, ߧ ӧ֧اէѧ,  ާاߧ ڧ ܧѧ֧ӧ֧ߧߧ  է֧֧ӧ ߧէѧާ֧ߧ էݧ էާ, էѧ, ҧѧߧ, ԧѧѧا,  ҧ֧, էݧ ѧ٧ߧ ֧ߧڧ. 
֧ا֧ݧ ާاߧ ڧ ߧէѧާ֧ߧ ٧ 1/2 ڧݧ ٧ ݧ֧ߧ, ߧ ߧѧѧ ֧ߧݧԧڧ֧ܧԧ ֧  ҧݧէѧ ӧ ڧ֧ݧߧ ߧާ? 
   ܧѧ  -ا֧ߧܧ ܧݧ֧ҧݧ  ާߧ֧ӧѧ. 
 ֧ݧ ާ֧ ڧ ѧۧ,  ѧ ާاߧ ߧѧۧ ާߧԧ էݧڧߧߧ  էҧߧ ѧ֧  ާߧا֧ӧ ڧߧ֧֧ߧ  ֧ާѧڧ֧ܧڧ ڧ٧ҧѧا֧ߧڧ, ߧѧڧާ֧: 
<a href=https://prorab2.ru/fundament/proportsii-dlya-fundamenta/proportsii-tsementa-i-peska-dlya-fundamenta.html>ڧ ֧ާ֧ߧ  ֧ܧ էݧ ߧէѧާ֧ߧ էާ</a> 
 ߧѧڧߧѧ֧ ӧ֧ڧ  ֧ѧݧߧ  էݧڧߧߧ. 
 ڧ֧ݧӧ ܧѧ֧ӧ֧ߧߧ  է֧֧ӧ ߧէѧާ֧ߧ  ԧѧѧ, է, էѧ, ҧѧߧ  .. ٧ 1/2 ڧݧ ݧ֧ߧ. 
 ڧէѧ֧ ӧ֧֧ߧߧ ڧݧԧڧ֧ܧڧ ѧ٧է֧  ֧ާߧ  ڧ֧ݧӧ, .. ҧ ӧ֧ ѧߧڧܧѧ ֧ާߧߧԧ  ڧ֧ݧߧԧ ֧. 
 ާާ֧ߧ  ߧѧߧ,  ܧ ߧ ܧԧէ  ߧ  ܧԧ  ߧѧ֧  ֧ѧݧߧ ڧ֧ݧӧ ֧ ߧ ݧѧݧ. ߧ֧֧ߧ  ٧ѧէާڧӧ ѧ֧ ߧ֧ܧݧܧ է֧ܧ, ߧѧڧާ֧: 
<a href=https://prorab2.ru/sokrovennoe-v-stroitelstve-i-remonte>֧ܧ֧ ڧ֧ݧӧ</a> 
ߧ  ٧ߧѧܧ  ڧ֧ݧӧ ߧէѧާ֧ߧ,  էާѧ֧, ӧ٧ާاߧ ݧ ڧ է֧֧ӧ  ܧѧ֧ӧ֧ߧߧ ߧէѧާ֧ߧ ٧ 50% ڧݧ ٧ ݧ֧ߧ  ֧ߧ ߧէѧާ֧ߧ, ڧݧ ߧ ӧ٧ާاߧ ѧܧ ڧ֧ݧӧ? 
 ӧѧ ѧէ֧ ѧۧ ܧݧ ѧҧ Prorab2.ru https://prorab2.ru/ , ֧֧ۧէڧ, ާڧ ӧڧ ߧ  ٧ߧѧڧ ӧ٧ԧݧէ. 
 ܧ ӧ֧!

----------------------------------------
Misc #11904: Why was Thread.exclusive deprecated?
https://bugs.ruby-lang.org/issues/11904#change-90720

* Author: bascule (Tony Arcieri)
* Status: Rejected
* Priority: Normal
----------------------------------------
initialize a mutex because the mutex must be initialized in a thread-safe context where it's not possible for multiple caller threads to initialize the mutex concurrently.    

  One use case is here: this is an idempotent native function invoked via FFI. The contract is that it can be called repeatedly, but only by one thread at a time (concurrent calls from multiple threads can potentially corrupt its internal state):    

  https://github.com/cryptosphere/rbnacl/blob/master/lib/rbnacl.rb#L88    

  Thread.exclusive is useful because it provides an implicit mutex you can ensure is initialized correctly before any other threads start.


---Files--------------------------------
231.gif (2.81 KB)
228.gif (2.66 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>