L4Re - L4 Runtime Environment
|
Functions | |
long | l4shmc_chunk_try_to_take (l4shmc_chunk_t *chunk) |
Try to mark chunk busy. More... | |
long | l4shmc_chunk_ready (l4shmc_chunk_t *chunk, l4_umword_t size) |
Mark chunk as filled (ready). More... | |
long | l4shmc_chunk_ready_sig (l4shmc_chunk_t *chunk, l4_umword_t size) |
Mark chunk as filled (ready) and signal consumer. More... | |
long | l4shmc_is_chunk_clear (l4shmc_chunk_t *chunk) |
Check whether chunk is free. More... | |
|
inline |
Mark chunk as filled (ready).
chunk | chunk. |
size | Size of data in the chunk, in bytes. |
0 | Success. |
<0 | Error. |
|
inline |
Mark chunk as filled (ready) and signal consumer.
chunk | chunk. |
size | Size of data in the chunk, in bytes. |
0 | Success. |
<0 | Error. |
|
inline |
Try to mark chunk busy.
chunk | chunk to mark. |
0 | Chunk could be taken. |
<0 | Chunk could not be taken, try again. |
|
inline |
Check whether chunk is free.
chunk | Chunk to check. |
0 | Success. |
<0 | Error. |