On 03/10/2011 01:59 PM, Corentin Chary wrote:
Instead, we now store the data in a temporary buffer, and use a socket pair to notify the main thread that new data is available.
You can use a bottom half for this instead of a special socket. Signaling a bottom half is async-signal- and thread-safe.
Paolo