This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
There is no problem in the non-threaded case: then there are no locks at all.I don't understand: I'm talking about __threads == false in the original design (that
I am not convinced that a pool allocator has to be poor in performanceDuring the last months we posted numbers and there is a whole literature about that.
in a MT application.
;) Of course we are not talking about naming things one way or another. We areIf you'd start to call the default allocator (like is used by std::string for example) mt_alloc in MT case, then that doesn't change anything for my problem: I'd still need to know if the current thread holds the lock or the current thread should never hold the lock while calling malloc/new.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |