Handler.cpp File Reference

#include <support/Handler.h>
#include <support/Autolock.h>
#include <support/Looper.h>
#include <support/Message.h>
#include <support/StdIO.h>
#include <support/Process.h>
#include <support_p/SupportMisc.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <new>

Enumerations

enum  {
  ghCanSchedule = 0x00000001, ghScheduled = 0x00000002, ghNeedSchedule = 0x00000004, ghDying = 0x00000008,
  ghCalledSchedule = 0x00000010
}

Functions

nsecs_t approx_SysGetRunTime ()
 Optimization for retrieving the current time.
nsecs_t exact_SysGetRunTime ()
 Retrieves exact time and updates approx_SysGetRunTime().

Variables

nsecs_t g_lastTime = 0
SysCriticalSectionType g_timeLock
int32_t g_timeRequests = 10000


Enumeration Type Documentation

anonymous enum
 

Enumerator:
ghCanSchedule 
ghScheduled 
ghNeedSchedule 
ghDying 
ghCalledSchedule 


Variable Documentation

nsecs_t g_lastTime = 0
 

SysCriticalSectionType g_timeLock
 

int32_t g_timeRequests = 10000