dhewm3-sdk/idlib
Daniel Gibson 279abd8097 Don't use stringDataAllocator in idStr, it's not thread-safe
idStr is used in both the main thread and the async sound thread, so
it should better be thread-safe.. idDynamicBlockAlloc is not.
Use realloc() and free() instead.

For some reason this caused a lot more crashes (due to inconsistencies
in the allocator's heap) with newer Linux distros (like XUbuntu 20.04)
and when using GCC9, while they rarely reproduced with GCC7 or on
XUbuntu 18.04

fixes #391
2022-05-29 00:29:54 +02:00
..
bv Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
containers List.h needs sys/platform.h for ID_INLINE 2018-08-20 01:46:37 +02:00
geometry Silence an uninitialized variable warning 2022-05-29 00:29:54 +02:00
hashing s/LittleLong/LittleInt/ to match the return type 2018-08-20 01:46:33 +02:00
math Several commits about memcpy() and memset() from turol in idlib squashed 2022-05-29 00:29:54 +02:00
Base64.cpp Remove usage of long type from idlib/ 2018-08-20 01:46:33 +02:00
Base64.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
BitMsg.cpp s/ReadDeltaLongCounter/ReadDeltaIntCounter/ 2018-08-20 01:46:33 +02:00
BitMsg.h s/ReadDeltaLong/ReadDeltaInt/ 2018-08-20 01:46:33 +02:00
CmdArgs.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
CmdArgs.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Dict.cpp s/LittleLong/LittleInt/ to match the return type 2018-08-20 01:46:33 +02:00
Dict.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Heap.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Heap.h Fix alignment issue with idBlockAlloc::Free() 2018-08-20 01:46:29 +02:00
LangDict.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
LangDict.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Lexer.cpp Fixing some spelling errors: s/unkown/unknown, s/seperate/separate. (#107) 2018-08-20 01:46:38 +02:00
Lexer.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Lib.cpp Make it build as SDK 2018-08-26 01:43:10 +02:00
Lib.h s/BigLong/BigInt/ to match the return type 2018-08-20 01:46:33 +02:00
MapFile.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
MapFile.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Parser.cpp Fix some compiler warnings (wrong types, superfluous checks, printf-fuckup) 2018-08-20 01:46:38 +02:00
Parser.h Remove usage of long type from idlib/ 2018-08-20 01:46:33 +02:00
Str.cpp Don't use stringDataAllocator in idStr, it's not thread-safe 2022-05-29 00:29:54 +02:00
Str.h import AROS changes 2018-08-20 01:46:39 +02:00
Timer.cpp Use idSys::GetMilliseconds() for idTimer 2018-08-20 01:46:29 +02:00
Timer.h Use idSys::GetMilliseconds() for idTimer 2018-08-20 01:46:29 +02:00
Token.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Token.h Remove usage of long type from idlib/ 2018-08-20 01:46:33 +02:00