| Overview | Namespace | Class | Index | Help |
| PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
| PRIVATE MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
| virtual | abstract | interface | template |
| NO | NO | YES | NO |
Methods |
|
| Semaphore( sal_uInt32 initialCount ); |
Creates a semaphore. |
| ~Semaphore( ); |
Release the OS-structures and free semaphore data-structure |
| sal_Bool acquire( ); |
Decreases the count of the semaphore object. |
| sal_Bool tryToAcquire( ); |
Tries to decreases the count of the semaphore. |
| sal_Bool release( ); |
Increases the count. |
Data |
|
| oslSemaphore semaphore; | |
Copyright © 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.