A Plumber's Wish List for Linux
A Plumber's Wish List for Linux
Posted Oct 7, 2011 20:33 UTC (Fri) by kpfleming (subscriber, #23250)Parent article: A Plumber's Wish List for Linux
Some method of being able to poll()/epoll() on both fds *and* synchronization objects (pthread_cond_t objects, for example). Right now the only method to achieve thread-safe wakeup is to use a pipe() and poke it so that the poll() will wakeup. Unless I'm mistaken, all of these mechanisms use the same underlying basis in the kernel anyway for waking up processes, so this should be possible. It wouldn't be part of POSIX, of course.
