From 1c98f0bedc1d98d468ad0d89e57207535d068844 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Fri, 8 Jun 2018 15:54:37 +0200 Subject: irmd: Remove shm_sanitizer thread This removes the sanitizer thread in the IRMd to avoid the IRMd eating the CPU when the buffer is full. The processes will clean the head PDU if there is a broken lock in the rdrbuff. Chances for a lingering tail PDU are slim. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- include/ouroboros/shm_rdrbuff.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/ouroboros/shm_rdrbuff.h b/include/ouroboros/shm_rdrbuff.h index c27ff24d..277609c5 100644 --- a/include/ouroboros/shm_rdrbuff.h +++ b/include/ouroboros/shm_rdrbuff.h @@ -43,9 +43,6 @@ void shm_rdrbuff_destroy(struct shm_rdrbuff * rdrb); void shm_rdrbuff_purge(void); -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, size_t headspace, -- cgit v1.2.3