Slashdot Mirror


User: bsder

bsder's activity in the archive.

Stories
0
Comments
2
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2

  1. Re:Userland threads is faster on *BSD News · · Score: 1

    BS.

    I've used pthreads on FreeBSD, I've used pthreads on Linux (Redhat 5.2) Both block the whole App when a thread waits for a socket connection.

  2. Re:Userland threads is faster on *BSD News · · Score: 1

    You're right, if a thread blocks for IO the whole process blocks for IO. The key is to use non-blocking IO. fcntl is your friend.

    Anyways, Linux has the same problem, so it doesn't add much fire to the Linux vs. BSD arguement.