News for hackers. Stuff that matters.
Re:Task Queue, with No Daemon by icedchai on Wednesday August 17, 2022 @10:39PM (#32504604)
This seems similar to the FreeBSD lockf command: https://www.freebsd.org/cgi/man.cgi?query=lockf
Re:Task Queue, with No Daemon by dyx on Wednesday August 17, 2022 @11:37PM (#32504982)
I implement this program since flock(1) in Linux doesn't support timeout of pending.

I've never used BSD. After reading the link provided by you, I think my program becomes no value, if there is a Linux version of lockf(1). Sad.

Re:Task Queue, with No Daemon by dyx on Wednesday August 17, 2022 @11:41PM (#32505003)
Oh, after carefully check the man page of flock(1) in Linux, it supports timeout. So the last value of this program disappears. Please ignore my ignorance and disturbance. I wish I could delete the post but there is no way to do it.
Re:Task Queue, with No Daemon by icedchai on Thursday August 18, 2022 @09:20AM (#32509187)
You still got to learn about POSIX!