| 33 | |
| 34 | == OGRSFDriverRegistrar == |
| 35 | |
| 36 | Various changes have already been made to make the driver registrar thread safe, primarily by protecting operations on it with a mutex. |
| 37 | |
| 38 | == OGRSFDriver == |
| 39 | |
| 40 | No changes are required to the OGRSFDriver base class for thread safety, primarily because it does almost nothing. |
| 41 | |
| 42 | == OGRDataSource == |
| 43 | |
| 44 | This class has been modified to include an m_hMutex class data member which is a mutex used to ensure thread safe access to internal datastructures such as the layer list. Classes derived from OGRDataSource that wish to implement threadsafe operation should use this mutex when exclusivity is required. |
| 45 | |
| 46 | |