On Fri, 31 Dec 2010, Marco van de Voort wrote:

On Thu, Dec 30, 2010 at 08:52:36PM +0100, Michael Van Canneyt wrote:
Anyone want to respond with some basic semantics regarding signals and socket 
handles under Linux/Unix? ?

In short: on unix, you're better off with select() and friends.
(which is basically what the main loop hooks in lazarus do)

I have no knowledge of an actual signaling mechanism for data.
epoll, select, poll all use a wait loop.

Michael.

aio_read ?

This is not a signalling mechanism in the sense that you get a message if data 
is available for reading.
It's an asynchronous read. You must call aoi_error() at intervals to see if the 
data has been read.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to