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

File 231.gif added

ҧԧ ӧ֧ާ֧ߧ ! 
 էݧ ٧ߧѧܧ  ߧ  ڧ֧ݧӧ,  ҧ֧ߧߧ էݧ ֧, ܧ ѧ٧ҧڧѧ֧  ߧڧާѧ֧  ڧ֧ݧӧ ߧէѧާ֧ߧ. 
 ڧߧ֧ߧ֧ ߧѧݧ ѧۧ ܧݧ ѧߧ ѧҧ Prorab2.ru, ߧ ӧ֧اէѧ,  ާاߧ ڧ է֧֧ӧ  ܧѧ֧ӧ֧ߧߧ ߧէѧާ֧ߧ էݧ էާ, էѧ, ҧѧߧ, ԧѧѧا,  ҧ֧, էݧ ѧ٧ߧ ֧ߧڧ. 
֧ا֧ݧ ާاߧ ڧ ߧէѧާ֧ߧ ٧ ݧ֧ߧ ڧݧ ٧ 1/2, ҧݧէѧ ӧ ڧ֧ݧߧ ߧާ  ߧ ߧѧѧ ֧ߧݧԧڧ֧ܧԧ ֧? 
   ܧѧ  -ا֧ߧܧ ܧݧ֧ҧݧ  ާߧ֧ӧѧ. 
 ֧ݧ ާ֧ ڧ ѧۧ,  ѧ ާاߧ ߧѧۧ ާߧԧ էҧߧ  էݧڧߧߧ ѧ֧  ާߧا֧ӧ ֧ާѧڧ֧ܧڧ  ڧߧ֧֧ߧ ڧ٧ҧѧا֧ߧڧ, ߧѧڧާ֧: 
<a href=https://prorab2.ru/fundament/kak-sdelat-fundament/kak-sdelat-fundament-esli-blizko-gruntovye-vody.html>ѧܧ ߧا֧ ߧէѧާ֧ߧ ֧ݧ ҧݧڧ٧ܧ ӧէ</a> 
 ߧѧڧߧѧ֧ ӧ֧ڧ  էݧڧߧߧ  ֧ѧݧߧ. 
 ڧ֧ݧӧ է֧֧ӧ  ܧѧ֧ӧ֧ߧߧ ߧէѧާ֧ߧ  ԧѧѧ, է, էѧ, ҧѧߧ  .. ٧ 1/2 ڧݧ ݧ֧ߧ. 
 ڧէѧ֧ ӧ֧֧ߧߧ ڧݧԧڧ֧ܧڧ ѧ٧է֧  ֧ާߧ  ڧ֧ݧӧ, .. ҧ ӧ֧ ѧߧڧܧѧ ڧ֧ݧߧԧ  ֧ާߧߧԧ ֧. 
 ާާ֧ߧ  ߧѧߧ,  ܧ ߧ ܧԧէ  ߧ  ܧԧ  ֧ѧݧߧ  ߧѧ֧ ڧ֧ݧӧ ֧ ߧ ݧѧݧ. ߧ֧֧ߧ  ٧ѧէާڧӧ ѧ֧ ߧ֧ܧݧܧ է֧ܧ, ߧѧڧާ֧: 
<a href=https://prorab2.ru/sokrovennoe-v-stroitelstve-i-remonte/psihologiya-stroiteley-nachinayuschie-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-90713

* 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)


-- 
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>