nn::os::Semaphore::Semaphore Constructor

Syntax

#include <nn/os.h>

Semaphore(
     s32 initialCount,
     s32 maxCount
);

Semaphore();

List of Overloaded Member Functions

Semaphore ( s32, s32 ) Constructs and initializes a semaphore.
Semaphore ( ) Constructs a semaphore. Does not perform initialization. You must call Initialize to use the semaphore.

Description of Semaphore ( s32, s32 )

Two constructors are provided: one performs initialization, and the other does not. You must call Initialize separately when you use the non-initializing constructor.

Description of Semaphore ( )

Constructs a semaphore. Does not perform initialization. You must call Initialize to use the semaphore.


CONFIDENTIAL