4307/8/9/10 data races (#4312)

* fix(NumericString): properly mark uIntToString deprecated #4304

* dev(runLibtests): allow to specify test to run

* fix(NotificationCenter): data race #4307

* fix(DirectoryWatcher): data race #4308

* fix(ArchiveStrategy): data race #4309

* fix(ActiveThread): data race #4310

* fix(Task): Cancelled Task shouldn't start running #4311 (WIP)

* fix(String): ignore clang loop unrolling warnings

* fix(TaskManager): task ownership #4311

* chore(FIFOEventTest): fix unused var warning; disable benchmark in test

* fix(Task): remove unnecessary mutex (and prevent cyclic locking reported by TSAN)

* fix(CryptoTest): disable testEncryptDecryptGCM

* fix(ci): typo

* fix(NotificationCenter): disable and clear observers in dtor (#4307)

---------

Co-authored-by: Matej Kenda <matejken@gmail.com>
This commit is contained in:
Aleksandar Fabijanic
2023-12-09 21:16:24 +01:00
committed by GitHub
parent 35e1490b26
commit 1e90f64bbf
19 changed files with 303 additions and 111 deletions

View File

@@ -387,7 +387,8 @@ bool intToStr(T value,
char fill = ' ',
char thSep = 0,
bool lowercase = false)
/// Converts integer to string. Standard numeric bases from binary to hexadecimal are supported.
/// Converts signed integer to string. Standard numeric bases from binary to hexadecimal
/// are supported.
/// If width is non-zero, it pads the return value with fill character to the specified width.
/// When padding is zero character ('0'), it is prepended to the number itself; all other
/// paddings are prepended to the formatted result with minus sign or base prefix included
@@ -534,8 +535,8 @@ bool intToStr(T value,
}
//@ deprecated
template <typename T>
[[deprecated("use intToStr instead")]]
bool uIntToStr(T value,
unsigned short base,
char* result,
@@ -579,8 +580,8 @@ bool intToStr (T number,
}
//@ deprecated
template <typename T>
[[deprecated("use intToStr instead")]]
bool uIntToStr (T number,
unsigned short base,
std::string& result,