From 7c0c79812075459765440ca26bad56f4f7ddbe52 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 3 Jul 2011 13:33:45 +0200 Subject: Command are now stored in ypipes instead of in socketpairs Storing commands in OS socket buffers caused whole lot of problems when free space in the buffer ran out. This patch stores commands in ypipes instead and uses socketpair just to signal the other thread, ie. at most one byte is stored in the socketpair at any single instant. Signed-off-by: Martin Sustrik --- tests/test_shutdown_stress.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_shutdown_stress.cpp b/tests/test_shutdown_stress.cpp index ef81758..b3ee90f 100644 --- a/tests/test_shutdown_stress.cpp +++ b/tests/test_shutdown_stress.cpp @@ -23,7 +23,7 @@ #include #include -#define THREAD_COUNT 10 +#define THREAD_COUNT 100 extern "C" { -- cgit v1.2.3