v8  3.14.5(node0.10.28)
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 865 of file platform-linux.cc.

Constructor & Destructor Documentation

LinuxSemaphore ( int  count)
inlineexplicit

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

virtual ~LinuxSemaphore ( )
inlinevirtual

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

Member Function Documentation

virtual void Signal ( )
inlinevirtual

Implements Semaphore.

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

void Wait ( )
virtual

Implements Semaphore.

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

References CHECK.

bool Wait ( int  timeout)
virtual

Implements Semaphore.

Definition at line 895 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: