Added functions from POSIX standard.

This commit is contained in:
Joel Sherrill
1998-03-14 17:43:56 +00:00
parent 76fa649972
commit 5e53171dfa
7 changed files with 295 additions and 0 deletions

View File

@@ -7,15 +7,59 @@
@c
@chapter Memory Management
@section Memory Locking Functions
@subsection Lock/Unlock the Address Space of a Process
@example
mlockall()
munlockall()
@end example
@subsection Lock/Unlock a Rand of Process Address Space
@example
mlock()
munlock()
@end example
@section Memory Mapping Functions
@subsection Map Process Addresses to a Memory Object
@example
mmap()
@end example
@subsection Unmap Previously Mapped Addresses
@example
munmap()
@end example
@subsection Change Memory Protection
@example
mprotect()
@end example
@subsection Memory Object Synchronization
@example
msync()
@end example
@section Shared Memory Functions
@subsection Open a Shared Memory Object
@example
shm_open()
@end example
@subsection Remove a Shared Memory Object
@example
shm_unlink()
@end example

View File

@@ -7,27 +7,104 @@
@c
@chapter Execution Scheduling
@section Scheduling Parameters
@section Scheduling Policies
@subsection SCHED_FIFO
@subsection SCHED_RR
@subsection SCHED_OTHER
@section Process Scheduling Functions
@subsection Set Scheduling Parameters
@example
sched_setparam()
@end example
@subsection Get Scheduling Parameters
@example
sched_getparam()
@end example
@subsection Set Scheduling Policy and Scheduling Parameters
@example
sched_setscheduler()
@end example
@subsection Get Scheduling Policy
@example
sched_getscheduler()
@end example
@subsection Yield Processor
@example
sched_yield()
@end example
@subsection Get Scheduling Parameter Limits
@example
sched_get_priority_max()
sched_get_priority_min()
sched_get_priority_rr_get_interval()
@end example
@section Thread Scheduling
@subsection Thread Scheduling Attributes
@subsection Scheduling Contention Scope
@subsection Scheduling Allocation Domain
@subsection Scheduling Documentation
@section Thread Scheduling Functions
@subsection Thread Creation Scheduling Attributes
@example
pthread_attr_setscope()
pthread_attr_getscope()
pthread_attr_setinheritsched()
pthread_attr_getinheritsched()
pthread_attr_setschedpolicy()
pthread_attr_getschedpolicy()
pthread_attr_setschedparam()
pthread_attr_getschedparam()
@end example
@subsection Dynamic Thread Scheduling Parameters Access
@example
pthread_setschedparam()
pthread_getschedparam()
@end example
@section Synchronization Scheduling
@subsection Mutex Initialization Scheduling Attributes
@example
pthread_mutexattr_setprotocol()
pthread_mutexattr_getprotocol()
pthread_mutexattr_setpriceiling()
pthread_mutexattr_getpriceiling()
@end example
@subsection Change the Priority Ceiling of a Mutex
@example
pthread_mutex_setprioceiling()
pthread_mutex_getprioceiling()
@end example

View File

@@ -7,15 +7,50 @@
@c
@chapter Clocks and Timers
@section Data Definitions for Clocks and Timers
@subsection Time Value Specification Structures
@subsection Timer Event Notification Control Block
@subsection Type Definitions
@subsection Manifest Constants
@section Clock and Timer Functions
@subsection Clocks
@example
clock_settime()
clock_gettime()
clock_getres()
@end example
@subsection Create a Per-Process Timer
@example
timer_create()
@end example
@subsection Delete a Per-Process Timer
@example
timer_delete()
@end example
@subsection Per-Process Timers
@example
timer_settime()
timer_gettime()
timer_getoverrun()
@end example
@subsection High Resolution Sleep
@example
nanosleep()
@end example

View File

@@ -7,15 +7,58 @@
@c
@chapter Message Passing
@section Data Definitions for Message Queues
@subsection Data Structures
@section Message Passing Functions
@subsection Open a Message Queue
@example
mq_open()
@end example
@subsection Close a Message Queue
@example
mq_close()
@end example
@subsection Remove a Message Queue
@example
mq_unlink
@end example
@subsection Send a Message to a Message Queue
@example
mq_send()
@end example
@subsection Receive a Message From a Message Queue
@example
mq_receive()
@end example
@subsection Notify Process That a Message is Available on a Queue
@example
mq_notify()
@end example
@subsection Set Message Queue Attributes
@example
mq_setattr()
@end example
@subsection Get Message Queue Attributes
@example
mq_getattr()
@end example

View File

@@ -7,14 +7,63 @@
@c
@chapter Thread Management
@section Threads
@section Thread Functions
@subsection Thread Creation Attributes
@example
pthread_attr_init()
pthread_attr_destroy()
pthread_attr_setstacksize()
pthread_attr_getstacksize()
pthread_attr_setstackaddr()
pthread_attr_getstackaddr()
pthread_attr_setdetachstate()
pthread_attr_getdetachstate()
@end example
@subsection Thread Creation
@example
pthread_create()
@end example
@subsection Wait for Thread Termination
@example
pthread_join()
@end example
@subsection Detaching a Thread
@example
pthread_detach()
@end example
@subsection Thread Termination
@example
pthread_exit()
@end example
@subsection Get Thread ID
@example
pthread_self()
@end example
@subsection Compare Thread IDs
@example
pthread_equal()
@end example
@subsection Dynamic Package Initialization
@example
pthread_once()
@end example

View File

@@ -7,8 +7,25 @@
@c
@chapter Thread-Specific Data
@section Thread-Specific Data Functions
@subsection Thread-Specific Data Key Creation
@example
pthread_key_create()
@end example
@subsection Thread-Specific Data Management
@example
pthread_key_setspecific()
pthread_key_getspecific()
@end example
@subsection Thread-Specific Data Key Deletion
@example
pthread_key_delete()
@end example

View File

@@ -7,19 +7,49 @@
@c
@chapter Thread Cancellation
@section Thread Cancellation Overview
@subsection Cancelability States
@subsection Cancellation Points
@subsection Thread Cancellation Cleanup Handlers
@subsection Async-Cancel Safety
@section Thread Cancellation Functions
@subsection Canceling Execution of a Thread
@example
pthread_cancel()
@end example
@subsection Setting Cancelability State
@example
pthread_setcancelstate()
pthread_setcanceltype()
pthread_testcancel()
@end example
@subsection Establishing Cancellation Handlers
@example
pthread_cleanup_push()
pthread_cleanup_pop()
@end example
@section Language-Independent Cancellation Functionality
@subsection Requesting Cancellation
@subsection Associating Cleanup Code With Scopes
@subsection Controlling Cancellation Within Scopes
@subsection Defined Cancellation Sequence
@subsection List of Cancellation Points