Ticket #1979 (closed defect: fixed)
CPLSPrintf is not thread safe
| Reported by: | daniel112b | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | high | Milestone: | 1.5.3 |
| Component: | default | Version: | unspecified |
| Severity: | normal | Keywords: | threadsafety |
| Cc: | daniel112b@… |
Description
It looks like CPLSPrintf is using thread local storage for it's buffers but it's not. CPL_THREADLOCAL is just defined to be empty.
My problems occur while i'm trying to extract the styling info and i end up with an empty style string when running multiple threads that read data from their own OGRDataSource.
http://lists.maptools.org/pipermail/gdal-dev/2007-November/014787.html
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

