forked from Imagelibrary/rtems
Added functions from POSIX standard.
This commit is contained in:
@@ -7,8 +7,26 @@
|
|||||||
@c
|
@c
|
||||||
|
|
||||||
@chapter System Databases
|
@chapter System Databases
|
||||||
@section System Databases Section
|
|
||||||
@section Database Access
|
@section System Databases Section
|
||||||
@section Group Database Access
|
|
||||||
@section User Database Access
|
@section Database Access
|
||||||
|
|
||||||
|
@subsection Group Database Access
|
||||||
|
|
||||||
|
@example
|
||||||
|
getgrgid()
|
||||||
|
getgrgid_r()
|
||||||
|
getgrname()
|
||||||
|
getgrnam_r()
|
||||||
|
@end example
|
||||||
|
|
||||||
|
@subsection User Database Access
|
||||||
|
|
||||||
|
@example
|
||||||
|
getpwuid()
|
||||||
|
getpwuid_r()
|
||||||
|
getpwnam()
|
||||||
|
getpwnam_r()
|
||||||
|
@end example
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,12 @@
|
|||||||
@c
|
@c
|
||||||
|
|
||||||
@chapter Data Interchange Format
|
@chapter Data Interchange Format
|
||||||
|
|
||||||
@section Archive/Interchange File Format
|
@section Archive/Interchange File Format
|
||||||
|
|
||||||
@subsection Extended tar Format
|
@subsection Extended tar Format
|
||||||
|
|
||||||
@subsection Extended cpio Format
|
@subsection Extended cpio Format
|
||||||
|
|
||||||
@subsection Multiple Volumes
|
@subsection Multiple Volumes
|
||||||
|
|
||||||
|
|||||||
@@ -7,23 +7,115 @@
|
|||||||
@c
|
@c
|
||||||
|
|
||||||
@chapter Synchronization
|
@chapter Synchronization
|
||||||
|
|
||||||
@section Semaphore Characteristics
|
@section Semaphore Characteristics
|
||||||
|
|
||||||
@section Semaphore Functions
|
@section Semaphore Functions
|
||||||
|
|
||||||
@subsection Initialize an Unnamed Semaphore
|
@subsection Initialize an Unnamed Semaphore
|
||||||
|
|
||||||
|
@example
|
||||||
|
sem_init()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Destroy an Unnamed Semaphore
|
@subsection Destroy an Unnamed Semaphore
|
||||||
|
|
||||||
|
@example
|
||||||
|
sem__destroy()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Initialize/Open a Named Semaphore
|
@subsection Initialize/Open a Named Semaphore
|
||||||
|
|
||||||
|
@example
|
||||||
|
sem_open()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Close a Named Semaphore
|
@subsection Close a Named Semaphore
|
||||||
|
|
||||||
|
@example
|
||||||
|
sem_close()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Remove a Named Semaphore
|
@subsection Remove a Named Semaphore
|
||||||
|
|
||||||
|
@example
|
||||||
|
sem_unlink()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Lock a Semaphore
|
@subsection Lock a Semaphore
|
||||||
|
|
||||||
|
@example
|
||||||
|
sem_wait()
|
||||||
|
sem_trywait()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Unlock a Semaphore
|
@subsection Unlock a Semaphore
|
||||||
|
|
||||||
|
@example
|
||||||
|
sem_post()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Get the Value of a Semaphore
|
@subsection Get the Value of a Semaphore
|
||||||
|
|
||||||
|
@example
|
||||||
|
sem_getvalue()
|
||||||
|
@end example
|
||||||
|
|
||||||
@section Mutexes
|
@section Mutexes
|
||||||
|
|
||||||
@subsection Mutex Initialization Attributes
|
@subsection Mutex Initialization Attributes
|
||||||
|
|
||||||
|
@example
|
||||||
|
pthread_mutexattr_init()
|
||||||
|
pthread_mutexattr_destroy()
|
||||||
|
pthread_mutexattr_getpshared()
|
||||||
|
pthread_mutexattr_setpshared()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Initializing and Destroying a Mutex
|
@subsection Initializing and Destroying a Mutex
|
||||||
|
|
||||||
|
@example
|
||||||
|
pthread_mutex_init()
|
||||||
|
pthread_mutex_destroy()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Locking and Unlocking a Mutex
|
@subsection Locking and Unlocking a Mutex
|
||||||
|
|
||||||
|
@example
|
||||||
|
pthread_mutex_lock()
|
||||||
|
pthread_mutex_trylock()
|
||||||
|
pthread_mutex_unlock()
|
||||||
|
@end example
|
||||||
|
|
||||||
@section Condition Variables
|
@section Condition Variables
|
||||||
|
|
||||||
@subsection Condition Variable Initialization Attributes
|
@subsection Condition Variable Initialization Attributes
|
||||||
|
|
||||||
|
@example
|
||||||
|
pthread_condattr_init()
|
||||||
|
pthread_condattr_destroy()
|
||||||
|
pthread_condattr_getpshared()
|
||||||
|
pthread_condattr_setpshared()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Initialization and Destroying Condition Variables
|
@subsection Initialization and Destroying Condition Variables
|
||||||
|
|
||||||
|
@example
|
||||||
|
pthread_cond_init()
|
||||||
|
pthread_cond_destroy()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Broadcasting and Signaling a Condition
|
@subsection Broadcasting and Signaling a Condition
|
||||||
|
|
||||||
|
@example
|
||||||
|
pthread_cond_signal()
|
||||||
|
pthread_cond_broadcast()
|
||||||
|
@end example
|
||||||
|
|
||||||
@subsection Waiting on a Condition
|
@subsection Waiting on a Condition
|
||||||
|
|
||||||
|
@example
|
||||||
|
pthread_cond_wait()
|
||||||
|
pthread_cond_timedwait()
|
||||||
|
@end example
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user