compiling with new directives (INCLUDE)
Bart van den Eijnden (OSGIS)
bartvde at XS4ALL.NL
Wed Aug 16 09:26:01 EDT 2006
This probably relates to Daniel's recent changes for bug 1322.
"I modified msTmpFile() to put a lock around the line that increments
Maybe he missed adding the define? Or it was done just after the nightly
builds are generated?
Huub Fleuren wrote:
> Hi Frank,
> Well eh... of course i'm not sure if /*that*/ is really working (since
> i mis the point of it) but mapserver compiled and i got my image from
> Oracle data... that's what worked.
> It's just that the define was missing in mapthread.h
> #define TLOCK_TMPFILE should be inserted with value below 20 then.
> Regards, Huub
> Frank Warmerdam wrote:
>> Huub Fleuren wrote:
>>> a propos mapthread.h:
>>> it says:
>>> #define TLOCK_MAX 100
>>> #define TLOCK_TMPFILE 200 works anyhow
>> How sure are you that it is really working? Certainly the mutex
>> won't have been initialized properly.
>> By the way, new locks need to be below TLOCK_STATIC_MAX (20), not
>> I think I originally introduced TLOCK_MAX with the expectation that
>> we would
>> allow dynamic allocation of new locks as things go, but this proved
>> to be
>> unnecessary and the capability was never implemented.
>> Best regards,
Bart van den Eijnden
OSGIS, Open Source GIS
More information about the mapserver-dev