|
|
ddtl <this@xxxxxxxxxx> writes:
> Is it safe to use operators 'new' and 'delete' in a multithreaded
> programs, that is: are those operators thread-safe in a current
> implementation of g++?
Yes, on all platforms where malloc is thread-safe. In practice
that's "all platforms that support threads" in general, and all
Linux/glibc versions since 1996.
> If yes, is it documented somewhere?
Probably, but I do not have any references for this.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@xxxxxxx
http://lists.gnu.org/mailman/listinfo/help-gplusplus
|
|