compiling with new directives (INCLUDE)

Frank Warmerdam warmerdam at POBOX.COM
Wed Aug 16 09:06:45 EDT 2006

Huub Fleuren wrote:
> a propos mapthread.h:
> it says:
> #define TLOCK_MAX       100
> but
> #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 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,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at
light and sound - activate the windows |
and watch the world go round - Rush    | President OSGF,

More information about the mapserver-dev mailing list