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
platform-linux.cc File Reference
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#include <sys/prctl.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <strings.h>
#include <errno.h>
#include <stdarg.h>
#include "v8.h"
#include "platform-posix.h"
#include "platform.h"
#include "v8threads.h"
#include "vm-state-inl.h"
Include dependency graph for platform-linux.cc:

Go to the source code of this file.

Data Structures

class  PosixMemoryMappedFile
 
class  Thread::PlatformData
 
class  LinuxMutex
 
class  LinuxSemaphore
 
class  Sampler::PlatformData
 
class  SignalSender
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define TIMEVAL_TO_TIMESPEC(tv, ts)
 

Functions

double ceiling (double x)
 

Macro Definition Documentation

#define TIMEVAL_TO_TIMESPEC (   tv,
  ts 
)
Value:
do { \
(ts)->tv_sec = (tv)->tv_sec; \
(ts)->tv_nsec = (tv)->tv_usec * 1000; \
} while (false)

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

Referenced by LinuxSemaphore::Wait().