On 2011-09-18 17:32, Richard Yao wrote:
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?


How about pthread_self() ?

/Uffe


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to