In the "make check" I get an error and I am not sure it is one I can figure
out.
I to have the same problem Malcom Weir had BUT a slight twist. I get a
"Success" followed by a "Invalid argument" from the
pthread_cound_destroy(gocond):
I am wondering if a fix is available or if anyone might know of a work
around?
I have tried setting CGLAGS=-D_THREAD_SAFE and other things like that but
nothing seems to alter the behavior.
My old courier email server is dieing and I am attempting to put up a new
one using a current Courier version. Would an older version of Courier help?
Can I turn off the "./configure"'s discovery of the fact that I have a
multithreading capable machine?
Dell Power Edge 700
PROCESSOR, 80546, 2.8, 1M, PENTIUM 4 PRESCOTT DT, 800, D0
The boot messages say they find and SMP MP-table and it sets up two cpu's.
Any little tricks are appreciated!
,,,Tim
Lmrgroup.com
--------------------------------------------
[courier-users] Possible issue with Courier0.54.2/threadlib/pthread.c and
glibc-2.5-25
Malcolm Weir
Sat, 03 Feb 2007 14:55:36 -0800
There's a call to pthread_cond_destroy at line 311 in threadlib/pthread.c
that may be (mildly) troublesome.
The simple issue is that the code reads:
if ( pthread_cond_destroy(&cit->threads[i].gocond))
perror("pthread_cond_destroy(gocond)");
However, pthread_cond_destroy in glibc-2.5-25 (at least) can return EBUSY,
rather than the traditional "return -1 and set errno" approach. This means
that the subsequent perror() call displays a bogus error.
The same seems true of the other pthread_XXXX() calls.
[ Not, I agree, the end of the world... But it managed to confuse me for a
while that I was getting both "Success" and "Illegal seek" errors from a
thread library! ]
The more vaguely interesting thing is that pthread_cond_destroy() *is*
returning EBUSY.
Now, I know I can compile the thing without threads, but this is on a
mainstream Linux platform (SuSE 10.2), with a 2.6.18.2 kernel and, well,
there's no reason why threads shouldn't work.
Any suggestions?
(I'm not at a dead end yet, but thoughts from others would be welcome!)
Thanks,
Malc.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users