so I cannot seem to find solid info on whether assert is useable in a mulththreaded context.
logically to me it seems if an assertion fails the thread get shutdown but not the other threads?
or does the entire process get killed?
so basically my question. is it safe to use assert in a multithreaded environment without leaking resources?
without leaking resources
assert() terminate the program forcibly. Whether multithreaded or singlethreaded, you cannot free your resource. Basically, it's just for debugging. Do you really need to free resources? – Emilemileabort
"? – Assyrian