[Lazarus] Reading and writing TMemoryStream in events?
henry.vermaak at gmail.com
Mon Nov 8 17:39:49 CET 2010
On 08/11/10 15:56, Michael Schnell wrote:
> On 11/08/2010 01:52 PM, Henry Vermaak wrote:
>> Just curious, why don't you use select() instead of polling?
> AFAIK, select() is not portable.
It's pretty portable, being POSIX and all. For Windows you'd use
overlapped io, iocp and wait functions. Or libevent, which is supposed
to be completely cross platform, but I haven't tried that yet.
More information about the Lazarus