changeset 31166:d8929af71fe4

Disable waking the cache process up via a signal, it currently causes read errors due to not handling EINTR.
author reimar
date Wed, 26 May 2010 17:27:38 +0000
parents 1b0e34bfb35a
children 09e3134b649d
files stream/cache2.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/cache2.c	Wed May 26 10:05:36 2010 +0000
+++ b/stream/cache2.c	Wed May 26 17:27:38 2010 +0000
@@ -102,7 +102,10 @@
 {
 #if FORKED_CACHE
   // signal process to wake up immediately
-  kill(s->cache_pid, SIGUSR1);
+  // Disabled for now since it causes incorrect EOFs
+  // due to interrupting read syscalls - this should be
+  // fixed instead though
+//  kill(s->cache_pid, SIGUSR1);
 #endif
 }