Re: Re(2): [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
Re: Re(2): [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
- Subject: Re: Re(2): [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
- From: Vincent Lubet <email@hidden>
- Date: Sun, 3 Feb 2002 22:32:37 -0800
On Sunday, February 3, 2002, at 03:33 PM, Jens Bauer wrote:
About OT vs. BSD sockets, I'd really hate using fork() to replace the
notifier. I don't believe it would be possible to make threads run
faster
than an interrupt. (My personal opinion; I grew up with interrupts)
With BSD sockets, the replacement of OT notifier is the select() system
call that allows for a process to wait for events on a set of file
descriptors at once -- only the simplest implementation use fork().
Vincent