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.

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1322

"I modified msTmpFile() to put a lock around the line that increments 
tmpCount"

Maybe he missed adding the define? Or it was done just after the nightly 
builds are generated?

Best regards,
Bart

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
>>>
>>> but
>>> #define TLOCK_TMPFILE 200 works anyhow
>>
>>
>> Huub,
>>
>> 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 
>> TLOCK_MAX.
>> 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
http://www.osgis.nl



More information about the mapserver-dev mailing list