v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-semaphore.cc File Reference
#include <stdlib.h>
#include "v8.h"
#include "platform.h"
#include "cctest.h"
Include dependency graph for test-semaphore.cc:

Go to the source code of this file.

Data Structures

class  V8_FINAL
 
class  V8_FINAL
 
class  V8_FINAL
 

Functions

 TEST (WaitAndSignal)
 
 TEST (WaitFor)
 
 TEST (ProducerConsumer)
 

Function Documentation

TEST ( WaitAndSignal  )

Definition at line 60 of file test-semaphore.cc.

References ASSERT, semaphore, and v8::internal::USE().

TEST ( WaitFor  )

Definition at line 82 of file test-semaphore.cc.

References CHECK, and semaphore.

TEST ( ProducerConsumer  )

Definition at line 148 of file test-semaphore.cc.