jengelh-datetimespielwiese
Last change
on this file since df326b was
df326b,
checked in by Oleksandr Motsak <motsak@…>, 10 years ago
|
Updates due to master (links) + SW adaptation/separation
|
-
Property mode set to
100644
|
File size:
449 bytes
|
Line | |
---|
1 | #ifndef _SIMPLEIPC_H |
---|
2 | #define _SIMPLEIPC_H |
---|
3 | |
---|
4 | #ifdef __cplusplus |
---|
5 | extern "C" |
---|
6 | { |
---|
7 | #endif |
---|
8 | #define SIPC_MAX_SEMAPHORES 256 |
---|
9 | |
---|
10 | #define USE_SEM_INIT 0 |
---|
11 | |
---|
12 | int sipc_semaphore_init(int id, int count); |
---|
13 | int sipc_semaphore_exists(int id); |
---|
14 | int sipc_semaphore_acquire(int id); |
---|
15 | int sipc_semaphore_try_acquire(int id); |
---|
16 | int sipc_semaphore_get_value(int id); |
---|
17 | int sipc_semaphore_release(int id); |
---|
18 | |
---|
19 | int simpleipc_cmd(char *cmd, int id, int v); |
---|
20 | #ifdef __cplusplus |
---|
21 | } |
---|
22 | #endif |
---|
23 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.