[Prev] [Contents] [Next]

Unsupported APIs

The following functions are not supported by the AS/400 implementation of pthreads. The functions are all defined and provided by the system. The presence of these functions in your application will not prevent you from compiling or creating your application. When your application is run, if the unsupported functions are called, the functions will immediately fail with the ENOSYS error, and your application can take the appropriate action, such as ignoring the error and continuing.
pthread_atfork()--Register Atfork Handlers
pthread_atfork_np()--Register Atfork Handlers
pthread_attr_getschedpolicy()--Get Scheduling Policy
pthread_attr_getscope()--Get Scheduling Scope
pthread_attr_getstackaddr()--Get Stack Address
pthread_attr_getstacksize()--Get Stack Size
pthread_attr_setschedpolicy()--Set Scheduling Policy
pthread_attr_setscope()--Set Scheduling Scope
pthread_attr_setstackaddr()--Set Stack Address
pthread_attr_setstacksize()--Set Stack Size
pthread_mutexattr_getprioceiling()--Get Mutex Prioceiling Attribute
pthread_mutexattr_getprotocol()--Get Mutex Protocol Attribute
pthread_mutexattr_setprioceiling()--Set Mutex Prioceiling Attribute
pthread_mutexattr_setprotocol()--Set Mutex Protocol Attribute
pthread_mutex_getprioceiling()--Get Mutex Prioceiling
pthread_mutex_setprioceiling()--Set Mutex Prioceiling

pthread_atfork()--Register Atfork Handlers

Syntax

#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.

pthread_atfork_np()--Register Atfork Handlers

Syntax

#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.

pthread_attr_getschedpolicy()--Get Scheduling Policy

Syntax

#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.

pthread_attr_getscope()--Get Scheduling Scope

Syntax

#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.

pthread_attr_getstackaddr()--Get Stack Address

Syntax

#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.

pthread_attr_getstacksize()--Get Stack Size

Syntax

#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.

pthread_attr_setschedpolicy()--Set Scheduling Policy

Syntax

#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.

pthread_attr_setscope()--Set Scheduling Scope

Syntax

#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.

pthread_attr_setstackaddr()--Set Stack Address

Syntax

#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.

pthread_attr_setstacksize()--Set Stack Size

Syntax

#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.

pthread_mutexattr_getprioceiling()--Get Mutex Prioceiling Attribute

Syntax

#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.

pthread_mutexattr_getprotocol()--Get Mutex Protocol Attribute

Syntax

#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.

pthread_mutexattr_setprioceiling()--Set Mutex Prioceiling Attribute

Syntax

#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.

pthread_mutexattr_setprotocol()--Set Mutex Protocol Attribute

Syntax

#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.

pthread_mutex_getprioceiling()--Get Mutex Prioceiling

Syntax

#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.

pthread_mutex_setprioceiling()--Set Mutex Prioceiling

Syntax

#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.



[Prev] [Contents] [Next]
Copyright © 1998, IBM Corporation. All rights reserved.
Comments? Contact
rchthrds@us.ibm.com