Function gdal_sys::CPLVirtualMemDeclareThread[][src]

pub unsafe extern "C" fn CPLVirtualMemDeclareThread(ctxt: *mut CPLVirtualMem)

Declare that a thread will access a virtual memory mapping.

This function must be called by a thread that wants to access the content of a virtual memory mapping, except if the virtual memory mapping has been created with bSingleThreadUsage = TRUE.

This function must be paired with CPLVirtualMemUnDeclareThread().

@param ctxt context returned by CPLVirtualMemNew().

@since GDAL 1.11