Communicator e3000 MPE/iX Release 7.5 (Software Release C.75.00) (30216-90336)

Chapter 5
Technical Articles
POSIX pthread (Draft 10) APIs
121
pthread_atfork, pthread_sigmask, pthread_kill, pthread_mutex_init, pthread_mutex_destroy,
pthread_mutex_lock, pthread_mutex_trylock, pthread_mutex_unlock, pthread_cond_init,
pthread_cond_destroy, pthread_cond_signal, pthread_cond_broadcast, pthread_cond_wait,
pthread_cond_timedwait, pthread_attr_setscope, pthread_getschedparam,
pthread_setschedparam, pthread_attr_init, pthread_attr_destroy, pthread_attr_setstacksize,
pthread_attr_getstacksize, pthread_create, pthread_join, pthread_detach, pthread_exit,
pthread_self, pthread_once, pthread_key_create, pthread_setspecific, pthread_ getspecific,
pthread_cancel, pthread_setcancelstate, pthread_setcanceltype, pthread_testcancel,
pthread_cleanup_push, pthread_cleanup_pop, pthread_continue, pthread_suspend, alarm,
pause, sleep.
The following POSIX signals have been implemented as a part of this solution:
kill, sigemptyset, sigfillset, sigaddset, sigdelset, sigismember, sigaction, sigprocmask,
sigpending, sigsuspend, sigwait, sigwaitinfo, sigtimedwait, sigqueue.
Solution Highlights
Some of the important enhancements done for this solution are:
The forking from a threaded environment
The exec family of APIs work in multi-threaded environment
Signals implemented in threaded environment as per POSIX Draft 10 specification
Customer Benefits
As more and more POSIX applications get ported to MPE, the need for POSIX compliance on MPE increases.
In order to retain old customers loyal to MPE and attract new customers, and in order to reduce the time
required for porting onto MPE, we provide all necessary APIs on MPE. This release provides
missing/non-functioning APIs of threads and signals, which are the immediate requirements of customers,
like JAVA.
JAVA is one of the (many) middle level applications needed for other e-services applications. With HP e3000
moving towards the e-world, it is necessary to e-enable MPE. Providing threads as part of FOS on MPE is one
small step towards the big goal.
Conclusion
A subset of POSIX pthreads (Draft 10) APIs is packaged as a part of FOS on MPE/iX 7.5 release. This enables
applications to use POSIX pthreads (Draft 10) APIs to be ported from other platforms with minimal porting
effort. New multi-threaded applications can be written and executed on HP e3000 with minimal effort.