Mixing Asynchronous Network I/O and POSIX Threads

Richard Yao ryao at cs.stonybrook.edu
Sun Sep 18 16:03:45 UTC 2011


Dear FreeBSD Community:

I wrote a program for Linux that uses Asynchronous Network I/O and
POSIX Threads. It uses a mix of gettid(), fcntl() and F_SETOWN to
specify which thread handles each connection's SIGIO interrupts.
gettid() is Linux-specific and I would prefer to do this in a way that
also works with FreeBSD. Is that possible?

I am not on the mailing list. Please CC me any responses.

Yours truly,
Richard Yao


More information about the freebsd-hackers mailing list