Still working on #swad, and currently very busy with improving quality, most of the actual work done inside my #poser library.

After finally supporting #kqueue and #epoll, I now integrated #xxhash to completely replace my previous stupid and naive hashing. I also added a more involved #dictionary class as an alternative to the already existing #hashtable. While the hashtable's size must be pre-configured and collissions are only ever resolved by storing linked lists, the new dictionary dynamically nests multiple hashtables (using different bits of a single hash value). I hope to achieve acceptable scaling while maintaining also acceptable memory overhead that way ...

#swad already uses both container classes as appropriate.

Next I'll probably revisit poser's #threadpool. I think I could replace #pthread condition variables by "simple" #semaphores, which should also reduce overhead ...

https://github.com/Zirias/swad

#c #coding

GitHub - Zirias/swad: Simple Web Authentication Daemon

Simple Web Authentication Daemon. Contribute to Zirias/swad development by creating an account on GitHub.

GitHub
Semaphores in Crystal

TL;DR Need to limit how many tasks run at once in your Crystal app? You can implement...

DEV Community
Category:Media contributed by the Archives Nationales (France)/20 - Wikimedia Commons

It's weird, but I had NO IDEA on #macOS you could nest both dispatch_async AND pass #semaphores through to be used to ensure things happened one-at-a-time when you dispatched the async. #Xcode

I know it's weird, but I had like 4 things to do to each video file (ffmpeg, atomicparsley, archive original, & move new file in place onto a #synology )

I saw no other way to get output from an NSTask except doing a dispatch_async for #ffmpeg and #atomicparsley

Handy! 🏆
@siracusa @jamesthomson

./semaphore.out
> Random experimental #furry #openspecies based on #semaphores in concurrency.
> https://www.furaffinity.net/view/53794580/
SEMAPHORE SPECIES by NormalExisting

SEMAPHORES v1.0 - AN EXPERIMENTAL OPEN SPECIES. . Semaphores are a species of sentient cyborg-esque machines, taking the form of four vi ...

Welche Mechanismen stellt das Pico-SDK für die parallele Abarbeitung verschiedener Aufgaben durch Threads bereit und wie können sie Entwickler einsetzen?

Der vorliegende Beitrag erläutert, welche Mechanismen das Pico-SDK für die parallele Abarbeitung verschiedener Aufgaben durch Threads bereitstellt und wie sie Entwickler einsetzen können.
Des Prozessors Kern – Parallelisierung auf dem Raspberry Pi Pico mit C und C++
Des Prozessors Kern – Parallelisierung auf dem Raspberry Pi Pico mit C und C++

Der vorliegende Beitrag erläutert, welche Mechanismen das Pico-SDK für die parallele Abarbeitung verschiedener Aufgaben durch Threads bereitstellt und wie sie Entwickler einsetzen können.

- Readers–writer locks are usually constructed on top of #mutexes and condition variables, or on top of #semaphores.