Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dist/tools/ctf/cvt XXX: Use only a singl...



details:   https://anonhg.NetBSD.org/src/rev/09d1c8e0ba65
branches:  trunk
changeset: 806706:09d1c8e0ba65
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 06 11:49:30 2015 +0000

description:
XXX: Use only a single thread. We seem to have a bug in our threading code
that causes us to hang in the ksem code if we use more than one.

diffstat:

 external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 534c4e0417ef -r 09d1c8e0ba65 external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c
--- a/external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c Fri Mar 06 11:11:55 2015 +0000
+++ b/external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c Fri Mar 06 11:49:30 2015 +0000
@@ -208,7 +208,12 @@
 #pragma init(bigheap)
 
 #define        MERGE_PHASE1_BATCH_SIZE         8
+#if 0
+// XXX: bug?
 #define        MERGE_PHASE1_MAX_SLOTS          5
+#else
+#define        MERGE_PHASE1_MAX_SLOTS          1
+#endif
 #define        MERGE_INPUT_THROTTLE_LEN        10
 
 const char *progname;



Home | Main Index | Thread Index | Old Index