The Concurrent class provides set of basic concurrency primitives. More...
#include <Concurrent.h>
Static Public Member Functions | |
| static int32 | increment (int32 *ptr) |
| Increments (increases by one) the value of the specified variable as an atomic operation. More... | |
| static int32 | decrement (int32 *ptr) |
| Decrements (decreases by one) the value of the specified variable as an atomic operation. More... | |
| static int64 | getTime () |
| Returns local system UTC time in milliseconds. | |
| static int32 | getBackgroundMode () |
| Returns background mode supported by the platform. | |
| static void | sleep (int64 delay) |
| Sends current thread to sleep for the specified amount of time in milliseconds. | |
Static Public Attributes | |
| static const int32 | BACKGROUND_NONE = 0x0 |
| Background operation is not supported by the platform. More... | |
| static const int32 | BACKGROUND_EVENTS = 0x1 |
| Background operation is partially supported by the platform. More... | |
| static const int32 | BACKGROUND_FULL = 0x2 |
| Background operation is supported by the platform without any limitations. More... | |
The Concurrent class provides set of basic concurrency primitives.
|
static |
Decrements (decreases by one) the value of the specified variable as an atomic operation.
The function returns the resulting decremented value.

|
static |
Increments (increases by one) the value of the specified variable as an atomic operation.
The function returns the resulting incremented value.

|
static |
Background operation is partially supported by the platform.
Application is only notified on specific events (location updates). Platforms: iOS (4.0 and above).
|
static |
Background operation is supported by the platform without any limitations.
Application main event loop functions as usual. Platforms: Android, BlackBerry, Windows Phone 8.0 and above.
|
static |
Background operation is not supported by the platform.
Application is completely terminated, once it goes to the background. Platforms: iOS (prior to 4.0), Windows Phone 7.x.
1.8.4