422 lines
12 KiB
HTML
422 lines
12 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
||
|
<title>Unsupported Pthread APIs</title>
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<!-- Begin Header Records ========================================== -->
|
||
|
<!-- NETMG2 SCRIPT A converted by B2H R4.1 (346) (CMS) by HOLTJM at -->
|
||
|
<!-- RCHVMW2 on 29 Jan 1999 at 10:01:37 -->
|
||
|
<!--File Edited November 2001 -->
|
||
|
<!--End Header Records -->
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<!-- Java sync-link -->
|
||
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
|
||
|
</script>
|
||
|
|
||
|
|
||
|
<h2>Unsupported Pthread APIs</h2>
|
||
|
|
||
|
<p>The following functions are not supported by the iSeries<SUP>(TM)</SUP> 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.</p>
|
||
|
|
||
|
<!-- ***** NOTE ***** Do not manually update text or links in this section. -->
|
||
|
<!-- Updates made in this section *will* be overlaid by automated tools -->
|
||
|
<!-- Notify User Technologies of needed updates to be made in XML for API finder.-->
|
||
|
<!--***************API BEGIN PASTE***************-->
|
||
|
<ul>
|
||
|
<li><A HREF="users_98.htm#325492">pthread_atfork()</A> (Register Fork Handlers)</li>
|
||
|
<li><A HREF="users_98.htm#325504">pthread_atfork_np()</A> (Register Fork Handlers with Extended Options)</li>
|
||
|
<li><A HREF="users_98.htm#308646">pthread_attr_getguardsize()</A> (Get Guard Size)</li>
|
||
|
<li><A HREF="users_98.htm#308656">pthread_attr_getschedpolicy()</A> (Get Scheduling Policy)</li>
|
||
|
<li><A HREF="users_98.htm#308666">pthread_attr_getscope()</A> (Get Scheduling Scope)</li>
|
||
|
<li><A HREF="users_98.htm#308676">pthread_attr_getstackaddr()</A> (Get Stack Address)</li>
|
||
|
<li><A HREF="users_98.htm#308686">pthread_attr_getstacksize()</A> (Get Stack Size)</li>
|
||
|
<li><A HREF="users_98.htm#308691">pthread_attr_setguardsize()</A> (Set Guard Size)</li>
|
||
|
<li><A HREF="users_98.htm#308696">pthread_attr_setschedpolicy()</A> (Set Scheduling Policy)</li>
|
||
|
<li><A HREF="users_98.htm#308706">pthread_attr_setscope()</A> (Set Scheduling Scope)</li>
|
||
|
<li><A HREF="users_98.htm#308716">pthread_attr_setstackaddr()</A> (Set Stack Address)</li>
|
||
|
<li><A HREF="users_98.htm#308726">pthread_attr_setstacksize()</A> (Set Stack Size)</li>
|
||
|
<li><A HREF="users_98.htm#308840">pthread_mutex_getprioceiling()</A> (Get Mutex Priority Ceiling)</li>
|
||
|
<li><A HREF="users_98.htm#308850">pthread_mutex_setprioceiling()</A> (Set Mutex Priority Ceiling)</li>
|
||
|
<li><A HREF="users_98.htm#308800">pthread_mutexattr_getprioceiling()</A> (Get Mutex Priority Ceiling Attribute)</li>
|
||
|
<li><A HREF="users_98.htm#308810">pthread_mutexattr_getprotocol()</A> (Get Mutex Protocol Attribute)</li>
|
||
|
<li><A HREF="users_98.htm#308820">pthread_mutexattr_setprioceiling()</A> (Set Mutex Priority Ceiling Attribute)</li>
|
||
|
<li><A HREF="users_98.htm#308830">pthread_mutexattr_setprotocol()</A> (Set Mutex Protocol Attribute)</li>
|
||
|
</ul>
|
||
|
<!--***************API END PASTE***************-->
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="325492">pthread_atfork()--Register Fork Handlers</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_atfork(void (*prepare)(void),
|
||
|
void (*parent)(void),
|
||
|
void (*child)(void));
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_atfork() function is not supported by this implementation. The
|
||
|
function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="325504">pthread_atfork_np()--Register Fork Handlers with Extended
|
||
|
Options</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_atfork(int *userstate,
|
||
|
void (*prepare)(void),
|
||
|
void (*parent)(void),
|
||
|
void (*child)(void));
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_atfork_np() function is not supported by this implementation.
|
||
|
The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308646">pthread_attr_getguardsize()--Get Guard Size</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
int pthread_attr_getguardsize(const pthread_attr_t *attr,
|
||
|
size_t *guardsize);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_attr_getguardsize() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308656">pthread_attr_getschedpolicy()--Get Scheduling Policy</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_attr_getschedpolicy(pthread_attr_t *attr,
|
||
|
int *policy);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_attr_getschedpolicy() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308666">pthread_attr_getscope()--Get Scheduling Scope</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_attr_getscope(pthread_attr_t *attr,
|
||
|
int *contentionscope);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_attr_getscope() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308676">pthread_attr_getstackaddr()--Get Stack Address</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_attr_getstackaddr(const pthread_attr_t *attr,
|
||
|
void **stackaddr);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_attr_getstackaddr() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308686">pthread_attr_getstacksize()--Get Stack Size</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_attr_getstacksize(const pthread_attr_t *attr,
|
||
|
size_t *stacksize);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_attr_getstacksize() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308691">pthread_attr_setguardsize()--Set Guard Size</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
int pthread_attr_setguardsize(pthread_attr_t *attr,
|
||
|
size_t guardsize);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_attr_setguardsize() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308696">pthread_attr_setschedpolicy()--Set Scheduling Policy</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_attr_setschedpolicy(pthread_attr_t *attr,
|
||
|
int policy);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_attr_setschedpolicy() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308706">pthread_attr_setscope()--Set Scheduling Scope</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_attr_setscope(pthread_attr_t *attr,
|
||
|
int contentionscope);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_attr_setscope() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308716">pthread_attr_setstackaddr()--Set Stack Address</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_attr_setstackaddr(pthread_attr_t *attr,
|
||
|
void *stackaddr);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_attr_setstackaddr() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308726">pthread_attr_setstacksize()--Set Stack Size</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_attr_setstacksize(pthread_attr_t *attr,
|
||
|
size_t stacksize);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_attr_setstacksize() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308800">pthread_mutexattr_getprioceiling()--Get Mutex Priority Ceiling
|
||
|
Attribute</a> </h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_mutexattr_getprioceiling(const pthread_mutexattr_t *attr,
|
||
|
int *prioceiling);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_mutexattr_getprioceiling() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308810">pthread_mutexattr_getprotocol()--Get Mutex Protocol
|
||
|
Attribute</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_mutexattr_getprotocol(const pthread_mutexattr_t *attr,
|
||
|
int *protocol);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_mutexattr_getprotocol() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308820">pthread_mutexattr_setprioceiling()--Set Mutex Priority Ceiling
|
||
|
Attribute</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr,
|
||
|
int prioceiling);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_mutexatttr_setprioceiling() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308830">pthread_mutexattr_setprotocol()--Set Mutex Protocol
|
||
|
Attribute</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr,
|
||
|
int protocol);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_mutexattr_setprotocol() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308840">pthread_mutex_getprioceiling()--Get Mutex Priority
|
||
|
Ceiling</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_mutex_getprioceiling(const pthread_mutex_t *mutex,
|
||
|
int *prioceiling);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_mutex_getprioceiling() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><a name="308850">pthread_mutex_setprioceiling()--Set Mutex Priority
|
||
|
Ceiling</a></h2>
|
||
|
|
||
|
<div class="box" style="width: 75%;">
|
||
|
<br>
|
||
|
Syntax:
|
||
|
|
||
|
<pre>
|
||
|
#include <pthread.h>
|
||
|
#include <sched.h>
|
||
|
int pthread_mutex_setprioceiling(pthread_mutex_t *mutex,
|
||
|
int prioceiling, int *oldceiling);
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>The pthread_mutex_setprioceiling() function is not supported by this
|
||
|
implementation. The function returns ENOSYS.</p>
|
||
|
|
||
|
<hr>
|
||
|
<center>
|
||
|
<table cellpadding="2" cellspacing="2">
|
||
|
<tr align="center">
|
||
|
<td valign="middle" align="center">
|
||
|
<a href="#Top_Of_Page">Top</a> |
|
||
|
<a href="rzah4mst.htm">Pthread APIs</a> |
|
||
|
<a href="aplist.htm">APIs by category</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</center>
|
||
|
</body>
|
||
|
</html>
|