sdl Reference Manual

Synopsis

public class Semaphore {
    public                              Semaphore                 ( uint32              initial_value ) ;


    public    int                       wait                      (  ) ;
    public    int                       try_wait                  (  ) ;
    public    int                       wait_timeout              ( uint32              ms ) ;
    public    int                       post                      (  ) ;
    public    uint32                    count                     (  ) ;
}

Semaphore Description

Details

Constructor Details

Semaphore ()
    public                              Semaphore                 ( uint32              initial_value ) ;		

Field Details

Signal Details

Property Details

Method Details

wait ()
    public    int                       wait                      (  ) ;		

try_wait ()
    public    int                       try_wait                  (  ) ;		

wait_timeout ()
    public    int                       wait_timeout              ( uint32              ms ) ;		

post ()
    public    int                       post                      (  ) ;		

count ()
    public    uint32                    count                     (  ) ;		


Created by Valadoc