fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.6K
active users

#semaphores

0 posts0 participants0 posts today
Felix Palmen :freebsd: :c64:<p>Still working on <a href="https://mastodon.bsd.cafe/tags/swad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swad</span></a>, and currently very busy with improving quality, most of the actual work done inside my <a href="https://mastodon.bsd.cafe/tags/poser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>poser</span></a> library.</p><p>After finally supporting <a href="https://mastodon.bsd.cafe/tags/kqueue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>kqueue</span></a> and <a href="https://mastodon.bsd.cafe/tags/epoll" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>epoll</span></a>, I now integrated <a href="https://mastodon.bsd.cafe/tags/xxhash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xxhash</span></a> to completely replace my previous stupid and naive hashing. I also added a more involved <a href="https://mastodon.bsd.cafe/tags/dictionary" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dictionary</span></a> class as an alternative to the already existing <a href="https://mastodon.bsd.cafe/tags/hashtable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hashtable</span></a>. 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 ...</p><p><a href="https://mastodon.bsd.cafe/tags/swad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swad</span></a> already uses both container classes as appropriate.</p><p>Next I'll probably revisit poser's <a href="https://mastodon.bsd.cafe/tags/threadpool" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>threadpool</span></a>. I think I could replace <a href="https://mastodon.bsd.cafe/tags/pthread" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pthread</span></a> condition variables by "simple" <a href="https://mastodon.bsd.cafe/tags/semaphores" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>semaphores</span></a>, which should also reduce overhead ... </p><p><a href="https://github.com/Zirias/swad" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/Zirias/swad</span><span class="invisible"></span></a></p><p><a href="https://mastodon.bsd.cafe/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a> <a href="https://mastodon.bsd.cafe/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a></p>
alexanderadam<p>Nice read! <span class="h-card" translate="no"><a href="https://ruby.social/@mamantoha" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mamantoha</span></a></span> published a short and nice ✍️ blog post about 🚥 <a href="https://ruby.social/tags/semaphores" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>semaphores</span></a> in :crystal: <span class="h-card" translate="no"><a href="https://fosstodon.org/@CrystalLanguage" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>CrystalLanguage</span></a></span> at <span class="h-card" translate="no"><a href="https://fosstodon.org/@thepracticaldev" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>thepracticaldev</span></a></span>:</p><p><a href="https://dev.to/mamantoha/semaphores-in-crystal-5eha" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">dev.to/mamantoha/semaphores-in</span><span class="invisible">-crystal-5eha</span></a></p><p><a href="https://ruby.social/tags/CrystalLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CrystalLang</span></a> <a href="https://ruby.social/tags/CrystalLanguage" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CrystalLanguage</span></a> <a href="https://ruby.social/tags/concurrency" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>concurrency</span></a> <a href="https://ruby.social/tags/waitgroup" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>waitgroup</span></a> <a href="https://ruby.social/tags/mutex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mutex</span></a> <a href="https://ruby.social/tags/parallel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parallel</span></a> <a href="https://ruby.social/tags/paralellism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>paralellism</span></a> <a href="https://ruby.social/tags/concurrency" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>concurrency</span></a> <a href="https://ruby.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://ruby.social/tags/crystal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>crystal</span></a></p>
d'aïeux et d'ailleurs<p>[<a href="https://framapiaf.org/tags/GLAM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GLAM</span></a>] Mise en ligne sur <a href="https://framapiaf.org/tags/Commons" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Commons</span></a> d'une sélection de 134 plans, dessins et photographies de <a href="https://framapiaf.org/tags/phares" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>phares</span></a> et <a href="https://framapiaf.org/tags/s%C3%A9maphores" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sémaphores</span></a> 💡🌊 des <a href="https://framapiaf.org/tags/Archivesnationales" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Archivesnationales</span></a> (<a href="https://framapiaf.org/tags/JEP2024" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JEP2024</span></a> consacrées au <a href="https://framapiaf.org/tags/patrimoinemaritime" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>patrimoinemaritime</span></a>)</p><p>(to be continued... quand la suite du corpus sera restaurée et numérisée)</p><p>Images sur <a href="https://framapiaf.org/tags/Commons" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Commons</span></a> <a href="https://commons.wikimedia.org/wiki/Category:Media_contributed_by_the_Archives_Nationales_(France)/20" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">commons.wikimedia.org/wiki/Cat</span><span class="invisible">egory:Media_contributed_by_the_Archives_Nationales_(France)/20</span></a></p><p><a href="https://framapiaf.org/tags/Cartographie" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cartographie</span></a> : <a href="https://wikimap.toolforge.org/?cat=Media%20contributed%20by%20the%20Archives%20Nationales%20(France)/20" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">wikimap.toolforge.org/?cat=Med</span><span class="invisible">ia%20contributed%20by%20the%20Archives%20Nationales%20(France)/20</span></a> (<a href="https://framapiaf.org/tags/wikimap" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wikimap</span></a>)</p><p><a href="https://framapiaf.org/tags/archives" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>archives</span></a> <a href="https://framapiaf.org/tags/patrimoine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>patrimoine</span></a> <a href="https://framapiaf.org/tags/GLAMarchives" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GLAMarchives</span></a> <a href="https://framapiaf.org/tags/lighthouse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lighthouse</span></a> <a href="https://framapiaf.org/tags/M%C3%A9diterrann%C3%A9e" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Méditerrannée</span></a> <a href="https://framapiaf.org/tags/Atlantique" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Atlantique</span></a> <a href="https://framapiaf.org/tags/phare" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>phare</span></a> <a href="https://framapiaf.org/tags/s%C3%A9maphore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sémaphore</span></a></p><p>poke <span class="h-card" translate="no"><a href="https://framapiaf.org/@macgraveur" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>macgraveur</span></a></span> <span class="h-card" translate="no"><a href="https://piaille.fr/@linda2900" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>linda2900</span></a></span> <span class="h-card" translate="no"><a href="https://piaille.fr/@Gardien2Phare" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Gardien2Phare</span></a></span></p>
(((Jann Gobble)))🏳️‍🌈<p>It's weird, but I had NO IDEA on <a href="https://twit.social/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a> you could nest both dispatch_async AND pass <a href="https://twit.social/tags/semaphores" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>semaphores</span></a> through to be used to ensure things happened one-at-a-time when you dispatched the async. <a href="https://twit.social/tags/Xcode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Xcode</span></a> </p><p>I know it's weird, but I had like 4 things to do to each video file (ffmpeg, atomicparsley, archive original, &amp; move new file in place onto a <a href="https://twit.social/tags/synology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>synology</span></a> )</p><p>I saw no other way to get output from an NSTask except doing a dispatch_async for <a href="https://twit.social/tags/ffmpeg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ffmpeg</span></a> and <a href="https://twit.social/tags/atomicparsley" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>atomicparsley</span></a></p><p>Handy! 🏆<br><span class="h-card" translate="no"><a href="https://mastodon.social/@siracusa" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>siracusa</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@jamesthomson" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jamesthomson</span></a></span></p>
Eric Mächler<p>ich habe vom <a href="https://mastodon.digitalsuccess.dev/tags/hostpoint" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hostpoint</span></a> <a href="https://mastodon.digitalsuccess.dev/tags/hoster" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hoster</span></a> eine email erhalten und verstehe den inhalt der mail nicht.... <a href="https://mastodon.digitalsuccess.dev/tags/Semaphores" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Semaphores</span></a> weiss jemand was das ist?</p>
heise online (inoffiziell)Welche Mechanismen stellt das Pico-SDK für die parallele Abarbeitung verschiedener Aufgaben durch Threads bereit und wie können sie Entwickler einsetzen?<br><br>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.<br> <a href="https://www.heise.de/developer/artikel/Des-Prozessors-Kern-Parallelisierung-auf-dem-Raspberry-Pi-Pico-mit-C-und-C-6000386.html" rel="nofollow noopener" target="_blank">Des Prozessors Kern – Parallelisierung auf dem Raspberry Pi Pico mit C und C++</a>
xameer<p>- Readers–writer locks are usually constructed on top of <a href="https://ioc.exchange/tags/mutexes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mutexes</span></a> and condition variables, or on top of <a href="https://ioc.exchange/tags/semaphores" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>semaphores</span></a>.</p>