diff options
author | dimitri staessens <[email protected]> | 2017-07-12 10:31:13 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-07-12 10:31:13 +0000 |
commit | 3e9ee89b3ccf48dcabf7de2ecafcfbf637595cfe (patch) | |
tree | c2e257101d4f52190a5fc6e2e00e8b6d8d637932 /include | |
parent | 9bbc7b4ba57a13e425fcfdfd6bd7ba5248255721 (diff) | |
parent | eaa2dff945366ed43b28fb1ae8e5c10ce95d9964 (diff) | |
download | ouroboros-3e9ee89b3ccf48dcabf7de2ecafcfbf637595cfe.tar.gz ouroboros-3e9ee89b3ccf48dcabf7de2ecafcfbf637595cfe.zip |
Merged in dstaesse/ouroboros/be-irmd-shutdown (pull request #527)
irmd: Shutdown sanitizer without cancellation
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/shm_rdrbuff.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ouroboros/shm_rdrbuff.h b/include/ouroboros/shm_rdrbuff.h index fb12be74..1af8d0c9 100644 --- a/include/ouroboros/shm_rdrbuff.h +++ b/include/ouroboros/shm_rdrbuff.h @@ -26,6 +26,7 @@ #include <ouroboros/shm_du_buff.h> #include <ouroboros/qoscube.h> +#include <ouroboros/time_utils.h> #include <stdint.h> #include <pthread.h> @@ -41,7 +42,8 @@ void shm_rdrbuff_close(struct shm_rdrbuff * rdrb); void shm_rdrbuff_destroy(struct shm_rdrbuff * rdrb); -void shm_rdrbuff_wait_full(struct shm_rdrbuff * rdrb); +int shm_rdrbuff_wait_full(struct shm_rdrbuff * rdrb, + struct timespec * timeo); /* returns the index of the buffer in the DU map */ ssize_t shm_rdrbuff_write(struct shm_rdrbuff * rdrb, |