|
@@ -260,7 +260,7 @@ typedef struct SDL_IOStream SDL_IOStream;
|
|
* \returns a pointer to the SDL_IOStream structure that is created or NULL on
|
|
* \returns a pointer to the SDL_IOStream structure that is created or NULL on
|
|
* failure; call SDL_GetError() for more information.
|
|
* failure; call SDL_GetError() for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety It is safe to call this function from any thread.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -465,7 +465,7 @@ extern SDL_DECLSPEC SDL_IOStream * SDLCALL SDL_OpenIO(const SDL_IOStreamInterfac
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
|
* information.
|
|
* information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -480,7 +480,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_CloseIO(SDL_IOStream *context);
|
|
* \returns a valid property ID on success or 0 on failure; call
|
|
* \returns a valid property ID on success or 0 on failure; call
|
|
* SDL_GetError() for more information.
|
|
* SDL_GetError() for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -500,7 +500,7 @@ extern SDL_DECLSPEC SDL_PropertiesID SDLCALL SDL_GetIOProperties(SDL_IOStream *c
|
|
* \param context the SDL_IOStream to query.
|
|
* \param context the SDL_IOStream to query.
|
|
* \returns an SDL_IOStatus enum with the current state.
|
|
* \returns an SDL_IOStatus enum with the current state.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -514,7 +514,7 @@ extern SDL_DECLSPEC SDL_IOStatus SDLCALL SDL_GetIOStatus(SDL_IOStream *context);
|
|
* negative error code on failure; call SDL_GetError() for more
|
|
* negative error code on failure; call SDL_GetError() for more
|
|
* information.
|
|
* information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -541,7 +541,7 @@ extern SDL_DECLSPEC Sint64 SDLCALL SDL_GetIOSize(SDL_IOStream *context);
|
|
* \returns the final offset in the data stream after the seek or -1 on
|
|
* \returns the final offset in the data stream after the seek or -1 on
|
|
* failure; call SDL_GetError() for more information.
|
|
* failure; call SDL_GetError() for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -561,7 +561,7 @@ extern SDL_DECLSPEC Sint64 SDLCALL SDL_SeekIO(SDL_IOStream *context, Sint64 offs
|
|
* \returns the current offset in the stream, or -1 if the information can not
|
|
* \returns the current offset in the stream, or -1 if the information can not
|
|
* be determined.
|
|
* be determined.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -586,7 +586,7 @@ extern SDL_DECLSPEC Sint64 SDLCALL SDL_TellIO(SDL_IOStream *context);
|
|
* \returns the number of bytes read, or 0 on end of file or other failure;
|
|
* \returns the number of bytes read, or 0 on end of file or other failure;
|
|
* call SDL_GetError() for more information.
|
|
* call SDL_GetError() for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -615,7 +615,7 @@ extern SDL_DECLSPEC size_t SDLCALL SDL_ReadIO(SDL_IOStream *context, void *ptr,
|
|
* \returns the number of bytes written, which will be less than `size` on
|
|
* \returns the number of bytes written, which will be less than `size` on
|
|
* failure; call SDL_GetError() for more information.
|
|
* failure; call SDL_GetError() for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -639,7 +639,7 @@ extern SDL_DECLSPEC size_t SDLCALL SDL_WriteIO(SDL_IOStream *context, const void
|
|
* \returns the number of bytes written or 0 on failure; call SDL_GetError()
|
|
* \returns the number of bytes written or 0 on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -659,7 +659,7 @@ extern SDL_DECLSPEC size_t SDLCALL SDL_IOprintf(SDL_IOStream *context, SDL_PRINT
|
|
* \returns the number of bytes written or 0 on failure; call SDL_GetError()
|
|
* \returns the number of bytes written or 0 on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -679,7 +679,7 @@ extern SDL_DECLSPEC size_t SDLCALL SDL_IOvprintf(SDL_IOStream *context, SDL_PRIN
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
|
* information.
|
|
* information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -705,7 +705,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_FlushIO(SDL_IOStream *context);
|
|
* \returns the data or NULL on failure; call SDL_GetError() for more
|
|
* \returns the data or NULL on failure; call SDL_GetError() for more
|
|
* information.
|
|
* information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -728,7 +728,7 @@ extern SDL_DECLSPEC void * SDLCALL SDL_LoadFile_IO(SDL_IOStream *src, size_t *da
|
|
* \returns the data or NULL on failure; call SDL_GetError() for more
|
|
* \returns the data or NULL on failure; call SDL_GetError() for more
|
|
* information.
|
|
* information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety It is safe to call this function from any thread.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -749,7 +749,7 @@ extern SDL_DECLSPEC void * SDLCALL SDL_LoadFile(const char *file, size_t *datasi
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
|
* information.
|
|
* information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -768,7 +768,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SaveFile_IO(SDL_IOStream *src, const void *
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
|
* information.
|
|
* information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety It is safe to call this function from any thread.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*
|
|
*
|
|
@@ -797,7 +797,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SaveFile(const char *file, const void *data
|
|
* \returns true on success or false on failure or EOF; call SDL_GetError()
|
|
* \returns true on success or false on failure or EOF; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -816,7 +816,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU8(SDL_IOStream *src, Uint8 *value);
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
|
* information.
|
|
* information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -839,7 +839,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS8(SDL_IOStream *src, Sint8 *value);
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -862,7 +862,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU16LE(SDL_IOStream *src, Uint16 *value)
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -885,7 +885,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS16LE(SDL_IOStream *src, Sint16 *value)
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -908,7 +908,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU16BE(SDL_IOStream *src, Uint16 *value)
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -931,7 +931,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS16BE(SDL_IOStream *src, Sint16 *value)
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -954,7 +954,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU32LE(SDL_IOStream *src, Uint32 *value)
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -977,7 +977,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS32LE(SDL_IOStream *src, Sint32 *value)
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1000,7 +1000,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU32BE(SDL_IOStream *src, Uint32 *value)
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1023,7 +1023,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS32BE(SDL_IOStream *src, Sint32 *value)
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1046,7 +1046,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU64LE(SDL_IOStream *src, Uint64 *value)
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1069,7 +1069,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS64LE(SDL_IOStream *src, Sint64 *value)
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1092,7 +1092,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadU64BE(SDL_IOStream *src, Uint64 *value)
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* \returns true on successful read or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1114,7 +1114,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ReadS64BE(SDL_IOStream *src, Sint64 *value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1128,7 +1128,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteU8(SDL_IOStream *dst, Uint8 value);
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1147,7 +1147,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteS8(SDL_IOStream *dst, Sint8 value);
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1166,7 +1166,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteU16LE(SDL_IOStream *dst, Uint16 value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1184,7 +1184,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteS16LE(SDL_IOStream *dst, Sint16 value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1202,7 +1202,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteU16BE(SDL_IOStream *dst, Uint16 value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1221,7 +1221,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteS16BE(SDL_IOStream *dst, Sint16 value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1240,7 +1240,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteU32LE(SDL_IOStream *dst, Uint32 value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1258,7 +1258,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteS32LE(SDL_IOStream *dst, Sint32 value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1276,7 +1276,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteU32BE(SDL_IOStream *dst, Uint32 value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1295,7 +1295,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteS32BE(SDL_IOStream *dst, Sint32 value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1314,7 +1314,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteU64LE(SDL_IOStream *dst, Uint64 value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1332,7 +1332,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteS64LE(SDL_IOStream *dst, Sint64 value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|
|
@@ -1350,7 +1350,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteU64BE(SDL_IOStream *dst, Uint64 value)
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* \returns true on successful write or false on failure; call SDL_GetError()
|
|
* for more information.
|
|
* for more information.
|
|
*
|
|
*
|
|
- * \threadsafety This function is not thread safe.
|
|
|
|
|
|
+ * \threadsafety Do not use the same SDL_IOStream from two threads at once.
|
|
*
|
|
*
|
|
* \since This function is available since SDL 3.2.0.
|
|
* \since This function is available since SDL 3.2.0.
|
|
*/
|
|
*/
|