L4Re Operating System Framework
Interface and Usage Documentation
|
Modules | |
Consumer | |
Producer | |
Functions | |
long | l4shmc_add_signal (l4shmc_area_t *shmarea, char const *signal_name, l4shmc_signal_t *signal) |
Add a signal for the shared memory area. | |
long | l4shmc_attach_signal (l4shmc_area_t *shmarea, char const *signal_name, l4_cap_idx_t thread, l4shmc_signal_t *signal) |
Attach to signal. | |
long | l4shmc_get_signal (l4shmc_area_t *shmarea, char const *signal_name, l4shmc_signal_t *signal) |
Get signal object from the shared memory area. | |
l4_cap_idx_t | l4shmc_signal_cap (l4shmc_signal_t const *signal) |
Get the signal capability of a signal. | |
long | l4shmc_check_magic (l4shmc_chunk_t const *chunk) |
Check magic value of a chunk. | |
long l4shmc_add_signal | ( | l4shmc_area_t * | shmarea, |
char const * | signal_name, | ||
l4shmc_signal_t * | signal | ||
) |
Add a signal for the shared memory area.
shmarea | The shared memory area. | |
signal_name | Name of the signal. | |
[out] | signal | Signal structure to fill in. |
0 | Success. |
<0 | Error. |
long l4shmc_attach_signal | ( | l4shmc_area_t * | shmarea, |
char const * | signal_name, | ||
l4_cap_idx_t | thread, | ||
l4shmc_signal_t * | signal | ||
) |
Attach to signal.
shmarea | Shared memory area. | |
signal_name | Name of the signal. | |
thread | Thread capability index to attach the signal to. | |
[out] | signal | Signal data structure to fill. |
0 | Success. |
<0 | Error. |
|
inline |
Check magic value of a chunk.
chunk | Chunk. |
0 | Magic value is not valid. |
>0 | Chunk is OK, the magic value is valid. |
long l4shmc_get_signal | ( | l4shmc_area_t * | shmarea, |
char const * | signal_name, | ||
l4shmc_signal_t * | signal | ||
) |
Get signal object from the shared memory area.
shmarea | Shared memory area. | |
signal_name | Name of the signal. | |
[out] | signal | Signal data structure to fill. |
0 | Success. |
<0 | Error. |
|
inline |
Get the signal capability of a signal.
signal | Signal. |