Date: Sun, 18 Sep 2011 11:32:08 -0400 From: Richard Yao <ryao@cs.stonybrook.edu> To: hackers@freebsd.org Subject: Mixing Asynchronous Network I/O and POSIX Threads Message-ID: <CABDyM6Se4iGozRUvKjSKiV1CW%2B91Y_p7ZQ6syzP0hkaXRqe3og@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABDyM6Se4iGozRUvKjSKiV1CW%2B91Y_p7ZQ6syzP0hkaXRqe3og>