The following functions are not supported by the iSeries(TM) implementation of pthreads. These functions are all defined and provided by the system. You can create and compile with these functions in your application. If the unsupported functions are called, when the application runs the functions immediately fail with the ENOSYS error, and your application can take the appropriate action, such as ignoring the error and continuing.
#include <pthread.h> #include <sched.h> int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void));
The pthread_atfork() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_atfork(int *userstate, void (*prepare)(void), void (*parent)(void), void (*child)(void));
The pthread_atfork_np() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> int pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guardsize);
The pthread_attr_getguardsize() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_attr_getschedpolicy(pthread_attr_t *attr, int *policy);
The pthread_attr_getschedpolicy() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_attr_getscope(pthread_attr_t *attr, int *contentionscope);
The pthread_attr_getscope() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr);
The pthread_attr_getstackaddr() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize);
The pthread_attr_getstacksize() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> int pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize);
The pthread_attr_setguardsize() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy);
The pthread_attr_setschedpolicy() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_attr_setscope(pthread_attr_t *attr, int contentionscope);
The pthread_attr_setscope() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr);
The pthread_attr_setstackaddr() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize);
The pthread_attr_setstacksize() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_mutexattr_getprioceiling(const pthread_mutexattr_t *attr, int *prioceiling);
The pthread_mutexattr_getprioceiling() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_mutexattr_getprotocol(const pthread_mutexattr_t *attr, int *protocol);
The pthread_mutexattr_getprotocol() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr, int prioceiling);
The pthread_mutexatttr_setprioceiling() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr, int protocol);
The pthread_mutexattr_setprotocol() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_mutex_getprioceiling(const pthread_mutex_t *mutex, int *prioceiling);
The pthread_mutex_getprioceiling() function is not supported by this implementation. The function returns ENOSYS.
#include <pthread.h> #include <sched.h> int pthread_mutex_setprioceiling(pthread_mutex_t *mutex, int prioceiling, int *oldceiling);
The pthread_mutex_setprioceiling() function is not supported by this implementation. The function returns ENOSYS.
Top | Pthread APIs | APIs by category |