diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-07-03 13:33:45 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-07-03 13:33:45 +0200 |
commit | 7c0c79812075459765440ca26bad56f4f7ddbe52 (patch) | |
tree | 2d1aa3dd7dbb1dcff8664708bc535d3dae4f2585 /tests | |
parent | de3838403b9a35e7131aae23519ced1f11a3e03c (diff) |
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 <sustrik@250bpm.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_shutdown_stress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 <pthread.h> #include <stddef.h> -#define THREAD_COUNT 10 +#define THREAD_COUNT 100 extern "C" { |