The workshop log
Archives
Every essay, tool teardown, and build note, newest first.
-

flock vs fcntl: 12 Lock States and One close() That Drops the Lock
Twelve lock states on one Linux host: a stray close() releases a POSIX lock, flock survives it, and a forked child keeps a lock it does not own.
Read the article → -

Python subprocess Deadlocks: the 64 KiB Pipe, Zombies, Orphan Process Groups and asyncio Descriptor Leaks – a Measured Runbook
A pipe holds 65,536 bytes, so a child that writes more stops dead: reading it in the wrong order delivered 131,072 bytes, then waited forever.
Read the article →