Dali 3D User Interface Engine
Classes | Namespaces | Enumerations | Functions | Variables
utc-Dali-Mutex.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <unistd.h>
#include <dali/public-api/dali-core.h>
#include <dali/devel-api/threading/mutex.h>
#include <dali/devel-api/threading/thread.h>
#include <dali-test-suite-utils.h>
Include dependency graph for utc-Dali-Mutex.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{utc-Dali-Mutex.cpp}::TestThread
 

Namespaces

namespace  anonymous_namespace{utc-Dali-Mutex.cpp}
 

Enumerations

enum  anonymous_namespace{utc-Dali-Mutex.cpp}::ThreadState { anonymous_namespace{utc-Dali-Mutex.cpp}::INIT, anonymous_namespace{utc-Dali-Mutex.cpp}::RUN, anonymous_namespace{utc-Dali-Mutex.cpp}::LOCKING, anonymous_namespace{utc-Dali-Mutex.cpp}::TERMINATE }
 

Functions

int UtcDaliMutexSingleThread (void)
 
int UtcDaliMutexMultiThread (void)
 
int UtcDaliMutexNonCopyable (void)
 

Variables

volatile int anonymous_namespace{utc-Dali-Mutex.cpp}::gGlobalValue = 0
 
volatile bool anonymous_namespace{utc-Dali-Mutex.cpp}::gWorkerThreadWait = true
 
enum anonymous_namespace{utc-Dali-Mutex.cpp}::ThreadState anonymous_namespace{utc-Dali-Mutex.cpp}::gWorkerThreadState = INIT
 
Mutex *volatile anonymous_namespace{utc-Dali-Mutex.cpp}::gGlobalValueMutex
 

Function Documentation

int UtcDaliMutexMultiThread ( void  )
int UtcDaliMutexNonCopyable ( void  )

Definition at line 132 of file utc-Dali-Mutex.cpp.

References DALI_COMPILE_TIME_ASSERT, DALI_TEST_CHECK, and END_TEST.

int UtcDaliMutexSingleThread ( void  )

Definition at line 29 of file utc-Dali-Mutex.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Mutex::IsLocked(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

Dali Docs Home
Read more about Dali