[fpc-devel] Linux Signals

Michael Van Canneyt michael at freepascal.org
Sun Jan 2 23:30:14 CET 2011



On Sun, 2 Jan 2011, Andrew Brunner wrote:

> I'm really surprised that I come off as sounding pro any OS.
> Personally, I'm the type of person to remove Windows 7 from my brand
> new laptop just to run Ubuntu.  I think there is though, some sort of
> deep seeded resentment towards event driven methods.
>
> So back to the topic...  As it stands I do have SIGIO issues and am
> working on epoll.  But since sigaction is preferable I'm searching for
> anyone with information as to how to get the kernel to define my
> sigaction and associate it with socket methods not Terminal IO.  I
> think there is a flag I can set - I just don't have the value or name.

As far as I know, you can specify I_SETSIG on any file descriptor, also on sockets ?

Michael.



More information about the fpc-devel mailing list