Message70563
Hi,
Selon "Martin v. Löwis" <report@bugs.python.org>:
>
> I don't think the proposed patch (file11012) makes it thread-safe, and I
> believe you cannot get it thread-safe without using thread synchronization.
I should have precised that in the context of this issue, "thread-safe" does not
mean "produces perfectly correct output" but simply "does not raise exceptions
when using the same buffered object from two different threads". The former
would be preferable but is not required, IMHO, for a buffered IO library; the
latter is much more critical because as Amaury points out, you otherwise get
exceptions when printing e.g. debut output from multiple threads. |
|
Date |
User |
Action |
Args |
2008-08-01 15:55:03 | pitrou | set | recipients:
+ pitrou, loewis, amaury.forgeotdarc, benjamin.peterson |
2008-08-01 15:55:03 | pitrou | link | issue3476 messages |
2008-08-01 15:55:03 | pitrou | create | |
|