~ubuntu-branches/ubuntu/vivid/emscripten/vivid-proposed

« back to all changes in this revision

Viewing changes to system/include/semaphore.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#ifndef _SYS_SEMAPHORE_H
3
 
#define _SYS_SEMAPHORE_H
4
 
 
5
 
#ifdef __cplusplus
6
 
extern "C" {
7
 
#endif
8
 
 
9
 
typedef int sem_t;
10
 
 
11
 
sem_t *sem_open(const char *, int, ...);
12
 
int    sem_close(sem_t *);
13
 
 
14
 
int    sem_init(sem_t *, int, unsigned);
15
 
int    sem_destroy(sem_t *);
16
 
 
17
 
int    sem_getvalue(sem_t *, int *);
18
 
int    sem_post(sem_t *);
19
 
 
20
 
int    sem_timedwait(sem_t *, const struct timespec *);
21
 
int    sem_trywait(sem_t *);
22
 
int    sem_wait(sem_t *);
23
 
 
24
 
int    sem_unlink(const char *);
25
 
 
26
 
#ifdef __cplusplus
27
 
}
28
 
#endif
29
 
 
30
 
#endif
31