|
HOME
SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port
FAQ
Documentation
Licensing
Download
Development (Trac)
Projects using pjsip
Mailing List
Open Source Links
About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono <bennylp pjsip.org>
|
|
Home --> Documentations --> PJLIB Reference
Detailed Description
This module provides abstraction for semaphores, where available.
Function Documentation
Create semaphore.
- Parameters:
-
| pool | The pool. |
| name | Name to be assigned to the semaphore (for logging purpose) |
| initial | The initial count of the semaphore. |
| max | The maximum count of the semaphore. |
| sem | Pointer to hold the semaphore created. |
- Returns:
- PJ_SUCCESS on success, or the error code.
Destroy semaphore.
- Parameters:
-
- Returns:
- PJ_SUCCESS on success, or the error code.
Release semaphore.
- Parameters:
-
- Returns:
- PJ_SUCCESS on success, or the error code.
Try wait for semaphore.
- Parameters:
-
- Returns:
- PJ_SUCCESS on success, or the error code.
Wait for semaphore.
- Parameters:
-
- Returns:
- PJ_SUCCESS on success, or the error code.
PJLIB Open Source, high performance, small footprint, and very very portable framework
(C)2001-2008 Benny Prijono
|
|