1 message in net.sourceforge.lists.courier-users[courier-users] make check: threadtes...
FromSent OnAttachments
Richard BrowneFeb 22, 2001 2:40 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] make check: threadtest failsActions...
From:Richard Browne (ric@timestone.com.au)
Date:Feb 22, 2001 2:40:34 am
List:net.sourceforge.lists.courier-users

Ok, solved the waittest problem. Thanks to those who gave me pointers. The answer was /etc/login.conf, now onto the next one..

make check hangs during threadtest. I've got as far as this:

$ threadtest 16 --- works fine.

$threadtest 16 1 --- hangs with output like: Started 1 Started 2 Started 3 Started 4 (nothing more)

Once it also gave a segmentation fault. I tried playing with threadlib/test.c. I added a sleep(1) during the while loop in workfunc so it looks like:

while ( time(&t2) < t1 + ndelay) sleep(1);

This works! So.. does this sound like a problem the OpenBSD's implementation of pthreads?? Any other suggestions?