Emanuel Berg <embe8...@student.uu.se> writes: > I have written a program [1] in C++ that uses polling, > but I was told that wasn't good enough so now I search > for a "preemptive" or interrupt-based solution.
To block on accesses to a file until it actually has data for you try reading up on the `select` call: % man 2 select -- Devrin Talen <dc...@cornell.edu> -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87vbnb7bo3....@cornell.edu