Mastodon Feed: Post

Mastodon Feed

Boosted by aredridel@kolektiva.social ("Mx. Aria Stewart"):
fedilucie@rivals.space ("lucie :neocat_floof:") wrote:

Meme sous le format "STOP DOING": STOP DOING SYNCHRONISATION - THREADS WERE NOT SUPPOSED TO BE interrupted - YEARS of SEMAPHORES yet NO REAL-W - wanted to shared something anyway for a laugh? We ORLD USE FOUND for anything other than LOCKS had a tool for that: It was called "BEING NICE" - "Yes please let me get WRITE access to a ressource. Please I have been spinning on my lock" - Statements dreamed up by the utterly Deranged LOOK at what Programmers have been demanding your Respect for all this time, with all the computers & languages we built for them (THIS is REAL CODE, made by REAL programmers) pub unsafe auto trait Send { } _Bool atomic_compare_exchange_weak_implicit( volatile A obj*, C* expected, C desired, memory_order succ, memory_order fail ); They have played us for absolute fools ??????? ???????"Hello !?????????? would like to WARNING: ThreadSanitizer: lock-order-inversion (potential deadlock) (pid=   Cycle in lock order graph: M0 (0x000000000000) => M4 (0x000000000000) =   Mutex M4 acquired here while holding mutex M0 in thread T1: