Extensions to POSIX thread

The POSIX thread standard leaves certain aspects of implementation defined, unspecified, or even undefined. Therefore, most UNIX operating system vendors provide several extensions in order to complement those areas in the POSIX thread standard.

On AIX, those extension subroutines are starting from pthread_ and ending in _np to signify that a library routine is non-portable and should not be used in code that will be ported to other UNIX-based systems (see Table D-7 on page 482).

Table D-7. Non-portable thread routines in AIX
RoutineRoutine (continued)
pthread_atfork_unregister_np()pthread_getthrds_np()
pthread_attr_getsuspendstate_np()pthread_getunique_np()
pthread_attr_setstacksize_np()pthread_join_np()
pthread_attr_setsuspendstate_np()pthread_lock_global_np()
pthread_cleanup_information_np()pthread_mutexattr_getkind_np()
pthread_cleanup_pop_np()pthread_mutexattr_setkind_np()
pthread_cleanup_push_np()pthread_set_mutexattr_default_np()
pthread_clear_exit_np()pthread_setcancelstate_np()
pthread_continue_np()pthread_signal_to_cancel_np()
pthread_continue_others_np()pthread_suspend_np()
pthread_delay_np()pthread_suspend_others_np()
pthread_get_expiration_np()pthread_test_exit_np()
pthread_getrusage_np()pthread_unlock_global_np()

Relevant information about these non-portable subroutines could be find in the following publications:

  • AIX Version 4.3 Differences Guide, SG24-2014

  • AIX 5L Differences Guide Version 5.2 Edition, SG24-5765

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset