except of course it consumes a mutex variable per row.
As requested.
BTW, I think the following line in your code is not thread safe;
oh, true! The fix is good, but the "defined" are superfluous.
In reply to Re^3: Avoid Locking Entire Hashes
by ikegami
in thread Avoid Locking Entire Hashes
by jagan_1234
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |