Message100280
More notes:
- Reason for non-atmoic behaviour is due to queue _feeder thread sending the object after the put() method has already exited. Hence changing the object straight after put() can result in the modified object being sent instead.
- Reproduced under Win32 and Ubuntu-64 with v2.6.4
- Not tried with v3.* but looking at the ToT code
it might also be affected
- The attached patch makes put() atomic but I am completely unsure about whether this is the correct way to address the problem (if it's seen as one).
Regards,
VT |
|
Date |
User |
Action |
Args |
2010-03-01 22:28:33 | vilnis.termanis | set | recipients:
+ vilnis.termanis |
2010-03-01 22:28:33 | vilnis.termanis | set | messageid: <1267482513.63.0.958385550471.issue8037@psf.upfronthosting.co.za> |
2010-03-01 22:28:32 | vilnis.termanis | link | issue8037 messages |
2010-03-01 22:28:31 | vilnis.termanis | create | |
|