Client-Library, CS-Library, and Bulk-Library routines can receive a pointer to a CS_LOCALE structure directly or indirectly within an exposed structure. The exposed structures CS_DATAFMT and CS_IODESC each contain a locale field that can hold a CS_LOCALE pointer.Any call to a Client-Library, CS-Library, or Bulk-Library routine that receives a non-NULL CS_LOCALE pointer is thread safe as long as:
The routine does not modify the CS_LOCALE structure. The table below lists the routines that modify a CS_LOCALE structure.
No call listed below is simultaneously active with any other call that references the same CS_LOCALE structure:
cs_dt_info(CS_SET)
cs_loc_drop
cs_locale(CS_SET)