All Classes Functions Variables Typedefs Friends Pages
Concurrent.h
1 //------------------------------------------------------------------------------
2 //
3 // Copyright (c) 2012 Glympse Inc. All rights reserved.
4 //
5 //------------------------------------------------------------------------------
6 
7 #ifndef CONCURRENT_H__GLYMPSE__
8 #define CONCURRENT_H__GLYMPSE__
9 
10 namespace Glympse
11 {
12 
17 {
22  public: static int32 increment(int32* ptr);
23 
28  public: static int32 decrement(int32* ptr);
29 
33  public: static int64 getTime();
34 
40  public: static const int32 BACKGROUND_NONE = 0x0;
41 
47  public: static const int32 BACKGROUND_EVENTS = 0x1;
48 
54  public: static const int32 BACKGROUND_FULL = 0x2;
55 
59  public: static int32 getBackgroundMode();
60 
64  public: static void sleep(int64 delay);
65 };
66 
67 }
68 
69 #endif // !CONCURRENT_H__GLYMPSE__