Go to main content

Multithreaded Programming Guide

Exit Print View

Updated: March 2019
 
 

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 Figure 12, Table 12, Async-Signal-Safe Functions. 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)