2 ms·
Sounds half baked. What context does this function run in? Is it an interpreted language or an executable that you provide? Inotify is the way to shovel these
by laz 8mo ago
Sounds half baked. What context does this function run in? Is it an interpreted language or an executable that you provide?
Inotify is the way to shovel these events out of the kernel, then userspace process rules apply. It's maybe not elegant from your pov, but it's simple.