It is currently Sat, 30 May 2020 13:57:36 GMT

Author Message
 poll/select not async-signal safe
Was looking AUPUE for the list of 80 or so system calls that are
async-signal safe. poll()/select(0 were not among them.

Does anybody know why any system calls should not be async-signal safe,
when they are MT-safe.


 Mon, 14 Mar 2005 12:15:58 GMT   
 poll/select not async-signal safe
Sony E Antony <> wrote:

select() and poll() were not defined by Posix as being async-signal-safe when
Stevens wrote APUE (1992).

However, Posix.1-2001 does define them as such.


 Tue, 15 Mar 2005 02:57:02 GMT   
 poll/select not async-signal safe

Ah ha that s interesting, thanks. I was kind of treating AUPUE as a bible.

By the way is there any system call that is not async-signal unsafe


 Tue, 15 Mar 2005 07:56:56 GMT   
 poll/select not async-signal safe

        Likely not, but poll and select are not required to be system calls.
It's possible, for example, that 'select' is a user-space wrapper around


 Tue, 15 Mar 2005 07:53:01 GMT   
   [ 4 post ] 

Similar Threads

1. Why is localtime_r() not ASYNC-SIGNAL-safe ?

2. siglongjmp not async-signal-safe?

3. Delivery of signals when thread not async safe

4. What is async-signal safe function

5. TCP/IP Async network I/O and select(2) is not working correctly

6. To async or not not async

7. Thread-safe and Signal-safe

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software