Replace thread-local variable by a lock (for real thread safety) and a list (for reentrancy)
Ideally, a lock should be used everywhere we modify (or sometimes access) a global variable. Here, _aq_dynamic is written in an optimistic way to avoid acquiring the lock every time. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38852 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment