httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <martin.krae...@mch.sni.de>
Subject [APR] Thread Lock Problem
Date Mon, 10 Apr 2000 15:38:34 GMT
If APR_HAS_THREADS == 1 but USE_PTHREAD_SERIALIZE is undefined, then
the lock functions are not DEFINED (in lib/apr/locks/unix/intraproc.c),
but they are still USED in lib/apr/locks/unix/locks.c!

That results in unresolved symbols during link time.

Which solution is more appropriate?
a) define also if USE_PTHREAD_SERIALIZE is undefined, or
b) use only if USE_PTHREAD_SERIALIZE is defined

?

    Martin
-- 
<Martin.Kraemer@MchP.Siemens.De>             |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-41143 | 81730  Munich,  Germany

Mime
View raw message