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

View File

@@ -7,27 +7,104 @@
@c @c
@chapter Execution Scheduling @chapter Execution Scheduling
@section Scheduling Parameters @section Scheduling Parameters
@section Scheduling Policies @section Scheduling Policies
@subsection SCHED_FIFO @subsection SCHED_FIFO
@subsection SCHED_RR @subsection SCHED_RR
@subsection SCHED_OTHER @subsection SCHED_OTHER
@section Process Scheduling Functions @section Process Scheduling Functions
@subsection Set Scheduling Parameters @subsection Set Scheduling Parameters
@example
sched_setparam()
@end example
@subsection Get Scheduling Parameters @subsection Get Scheduling Parameters
@example
sched_getparam()
@end example
@subsection Set Scheduling Policy and Scheduling Parameters @subsection Set Scheduling Policy and Scheduling Parameters
@example
sched_setscheduler()
@end example
@subsection Get Scheduling Policy @subsection Get Scheduling Policy
@example
sched_getscheduler()
@end example
@subsection Yield Processor @subsection Yield Processor
@example
sched_yield()
@end example
@subsection Get Scheduling Parameter Limits @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 @section Thread Scheduling
@subsection Thread Scheduling Attributes @subsection Thread Scheduling Attributes
@subsection Scheduling Contention Scope @subsection Scheduling Contention Scope
@subsection Scheduling Allocation Domain @subsection Scheduling Allocation Domain
@subsection Scheduling Documentation @subsection Scheduling Documentation
@section Thread Scheduling Functions @section Thread Scheduling Functions
@subsection Thread Creation Scheduling Attributes @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 @subsection Dynamic Thread Scheduling Parameters Access
@example
pthread_setschedparam()
pthread_getschedparam()
@end example
@section Synchronization Scheduling @section Synchronization Scheduling
@subsection Mutex Initialization Scheduling Attributes @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 @subsection Change the Priority Ceiling of a Mutex
@example
pthread_mutex_setprioceiling()
pthread_mutex_getprioceiling()
@end example

View File

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

View File

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

View File

@@ -7,14 +7,63 @@
@c @c
@chapter Thread Management @chapter Thread Management
@section Threads @section Threads
@section Thread Functions @section Thread Functions
@subsection Thread Creation Attributes @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 @subsection Thread Creation
@example
pthread_create()
@end example
@subsection Wait for Thread Termination @subsection Wait for Thread Termination
@example
pthread_join()
@end example
@subsection Detaching a Thread @subsection Detaching a Thread
@example
pthread_detach()
@end example
@subsection Thread Termination @subsection Thread Termination
@example
pthread_exit()
@end example
@subsection Get Thread ID @subsection Get Thread ID
@example
pthread_self()
@end example
@subsection Compare Thread IDs @subsection Compare Thread IDs
@example
pthread_equal()
@end example
@subsection Dynamic Package Initialization @subsection Dynamic Package Initialization
@example
pthread_once()
@end example

View File

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

View File

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