projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[Tizen] Add codes for Dali Windows Backend
[platform/core/uifw/dali-adaptor.git]
/
dali-windows-backend
/
ExInclude
/
semaphore.h
1
#ifndef __SEMAPHORE_INCLUDE_
\r
2
#define __SEMAPHORE_INCLUDE_
\r
3
\r
4
#include <pthread.h>
\r
5
\r
6
\r
7
typedef long sem_t;
\r
8
\r
9
void sem_init( sem_t *sem, int p1, int p2 );
\r
10
\r
11
void sem_post( sem_t *sem );
\r
12
\r
13
void sem_wait( sem_t *sem );
\r
14
\r
15
long sem_timedwait( sem_t *sem, timespec *time );
\r
16
\r
17
#endif