Aljoscha Rittner (beandev) · @beandev
840 followers · 12617 posts · Server social.tchncs.de

Ich versuche mich ja gerade ein wenig an und möchte das Script als Singleton laufen haben. Leider entpuppen sich nahezu alle Hinweise im Netz zu schlicht falsch, veraltet oder mit falschen Annahmen behaftet. Lösungen passen dann nicht zum Problem, funktionieren nur scheinbar oder lediglich in speziellen Ausführungs-Konstrukten.

Eigentlich nie werden globale Mutexe verwendet, was bei PS als Singleton schon ein Problem ist.

Nirgendwo werden Abandon Mutexe behandelt.

#mutex #powershell

Last updated 1 year ago

farcaller · @farcaller
61 followers · 317 posts · Server hdev.im

I knew I'd get to this bullshit eventually.

#arc #mutex #safetyiscomplicated

Last updated 2 years ago

emC-vishia · @emcVishia
0 followers · 13 posts · Server toot.kif.rocks

Before I have complete the test for emC, I have written an article about and or : vishia.org/emc/html/OSHAL/Mute The emC test contains some test cases of then, see src/test/cpp/emC_Test_Threads/Test_ThreadMutexNotify_emC.c in the emC github github.com/JzHartmut/Test_emC/ 2023-01-28

#mutex #waitnotify #waitsignal

Last updated 2 years ago

For example. We can test for six or so conditions to detect a sandbox for . Including but not limited to, vCPU threads, physical memory, uptime, whether or not it’s domain joined, unique files created on disk, etc. Since we can check for a sandbox after X amount of seconds plus random jitter, we can create a asynchronous process controlled by a or , that periodically returns control flow to the dispatcher. Then returns to main()

#sandboxevasion #junkcode #deadcode #mutex #thread #fiber #semaphore

Last updated 2 years ago

matt 🦕 · @mattjbones
116 followers · 92 posts · Server mastodon.social

Spent a decent portion of the weekend trying to get my head around threading, and in . The idea is to provide safe multithreaded access to a SQLite DB and allow for many concurrent reads but only one writer at a time (per SQLite).

It was pretty interesting to say the least and I ended up with a threadsafe wrapper around diesel.rs that I’m fairly happy with!

Now... to try hooking it into something useful.

#arc #mutex #rustlang

Last updated 2 years ago

Vincent Cantin · @greenCoder
70 followers · 91 posts · Server functional.cafe

I am in the train and I hear the announcement:

"You can eat your meal if your neighbor has his mask on."

I think about the Dining Philosoper's problem, and , then I immediately order a drink.

Computer science is indeed a survival skill.

en.wikipedia.org/wiki/Dining_p

#starvation #mutex

Last updated 2 years ago

Ivan Enderlin 🌱 :ferris: · @hywan
820 followers · 751 posts · Server fosstodon.org

The Rust `std::sync::Mutex` on Linux has been remarkably speed up, github.com/rust-lang/rust/pull.

Congrats @m_ou_se for the hard work!

#rustlang #mutex #thread #performance

Last updated 3 years ago

Pablo · @Apitronics
212 followers · 4946 posts · Server mastodon.partecipa.digital

La gestion de la concurrence a l'air compliquée en .
Je crois comprendre globalement le fonctionnement de l'enum "Ordering", mais j'ai du mal à l'intégrer.

Les valeurs "Acquire" et "Release" fonctionnent comme des en plus d’empêcher de réordonner les instructions en amont ou en aval de l'appel à une méthode atomique ?

Si oui, pourquoi faire du deux en un et ne pas coupler les mutex avec une instruction liée à l'ordre des instructions ?

Ça me perd de mélanger les deux.

#mutex #rust

Last updated 3 years ago

Tim Morgan · @seven1m
84 followers · 604 posts · Server mastodon.sdf.org

Wrapping Hash mutation in a mutex was easy, but finding the bug in our Hash implementation was not! Come watch me struggle! 😆

youtu.be/DPU1SrdbJJk

#programming #video #c #ruby #thread #mutex

Last updated 5 years ago

Guillaume Lours · @glours
177 followers · 5061 posts · Server framapiaf.org

In less than 2 months @docker@twitter.com, I already code in @golang@twitter.com @SwiftLang@twitter.com @reactjs@twitter.com
Develop front & back features, use with & extend a CLI 🤩
Wanna join us? We’re looking for Front & Backend developers
grnh.se/cff130f81
grnh.se/31ed2da11

#csharp #goroutines #mutex

Last updated 6 years ago