Message100117
Just noting there are ways to trick the macro into reading a thing once. For example, embed something like a
((x = arenas[(POOL)->arenaindex].address) || 1)
clause early on & refer to x later (where x is some file-scope new variable).
obmalloc is not intended to be thread-safe _period_, but I agree the current behavior in the case described is obnoxious enough that if it's easy to worm around it, fine. |
|
Date |
User |
Action |
Args |
2010-02-25 22:36:32 | tim.peters | set | recipients:
+ tim.peters, amaury.forgeotdarc, pitrou, mbandy |
2010-02-25 22:36:32 | tim.peters | set | messageid: <1267137392.58.0.228568527438.issue8020@psf.upfronthosting.co.za> |
2010-02-25 22:36:31 | tim.peters | link | issue8020 messages |
2010-02-25 22:36:31 | tim.peters | create | |
|