v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LinuxSemaphore Class Reference
Inheritance diagram for LinuxSemaphore:
Collaboration diagram for LinuxSemaphore:

Public Member Functions

 LinuxSemaphore (int count)
 
virtual ~LinuxSemaphore ()
 
virtual void Wait ()
 
virtual bool Wait (int timeout)
 
virtual void Signal ()
 
- Public Member Functions inherited from Semaphore
virtual ~Semaphore ()
 

Detailed Description

Definition at line 842 of file platform-linux.cc.

Constructor & Destructor Documentation

LinuxSemaphore ( int  count)
inlineexplicit

Definition at line 844 of file platform-linux.cc.

virtual ~LinuxSemaphore ( )
inlinevirtual

Definition at line 845 of file platform-linux.cc.

Member Function Documentation

virtual void Signal ( )
inlinevirtual

Implements Semaphore.

Definition at line 849 of file platform-linux.cc.

void Wait ( )
virtual

Implements Semaphore.

Definition at line 855 of file platform-linux.cc.

References CHECK.

bool Wait ( int  timeout)
virtual

Implements Semaphore.

Definition at line 872 of file platform-linux.cc.

References CHECK, v8::internal::NULL, timeradd, and TIMEVAL_TO_TIMESPEC.


The documentation for this class was generated from the following file: