kqueue is quite portable and works across all the BSDs.
The OpenBSD documentation for it is top notch, as usual. No idea about the rest (I suspect they’ve all converged at this point).
Love it. Are there any benchmarks available on how fast this is from file change, kernel event received, event dispatched? I would expect it to be really quick.
I love small personal projects like this, especially their writeups. I always have a hard time learning unless I am actually using it for something.
For more software in this domain see also the excellent entr https://eradman.com/entrproject/
[dead]
500 Code(3)
Error: Code(3)
kqueue is quite portable and works across all the BSDs.
The OpenBSD documentation for it is top notch, as usual. No idea about the rest (I suspect they’ve all converged at this point).
Love it. Are there any benchmarks available on how fast this is from file change, kernel event received, event dispatched? I would expect it to be really quick.
I love small personal projects like this, especially their writeups. I always have a hard time learning unless I am actually using it for something.
For more software in this domain see also the excellent entr https://eradman.com/entrproject/
[dead]