Message71144
| Author |
pitrou |
| Recipients |
amaury.forgeotdarc, benjamin.peterson, loewis, pitrou |
| Date |
2008年08月14日.19:23:13 |
| SpamBayes Score |
3.0858505e-08 |
| Marked as misclassified |
No |
| Message-id |
<1218741797.45.0.691209040751.issue3476@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is a new patch which simply wraps the current BufferedWriter
methods with a lock. It has a test case, and Amaury's example works fine
too.
Martin, do you think it's fine?
(as for BufferedReader, I don't see the use cases for multithreaded reading) |
|