honk login

honks in convoy: data:,electrichonkytonk-NzB8GY31Ww3wX3w5D4

avatar

tedu honked 11 May 2019 02:23 https://honk.tedunangst.com/u/tedu/h/6xhgq9ZYqYPvQySzt4
convoy: data:,electrichonkytonk-NzB8GY31Ww3wX3w5D4

> To provide exclusive access to the temporary file, sail uses a technique stolen from an old game called pubcaves by Jeff Cohen. Processes do a busy wait in the loop


for (n = 0; link(sync_file, sync_lock) == -1 && n < 30; n++)
sleep(2);


> until they are able to create a link to a file named /tmp/#saillock.??.