Multithreaded Programming Guide

Exit Print View

Updated: July 2014
 
 

Async-Signal-Safe Functions in Oracle Solaris Threads

Functions that can safely be called from signal handlers are Async-Signal-Safe. The IEEE Std 1003.1–2004 (POSIX) standard defines Async-Signal-Safe functions, which are listed in Table 5–2. In addition to these standard Async-Signal-Safe functions, the following functions from the Oracle Solaris threads interface are also Async-Signal-Safe:

  • sema_post(3C)

  • thr_sigsetmask(3C), similar to pthread_sigmask(3C)

  • thr_kill(3C), similar to pthread_kill(3C)