Message294702
The one of potential advantages of the API proposed by Gregory is that os.register_at_fork() can be made atomic. Either register all callbacks, or do nothing in the case of error. But current proposed implementation is not atomic. If resizing of some list is failed due to MemoryError (or may be KeyboardInterrupt), some callbacks can already be registered.
Is it worth to guarantee the atomicity of os.register_at_fork(). |
|
Date |
User |
Action |
Args |
2017-05-29 16:35:56 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, twouters, georg.brandl, gregory.p.smith, jcea, amaury.forgeotdarc, pitrou, vstinner, christian.heimes, grahamd, Arfrever, ionelmc, asvetlov, neologix, socketpair, sbt, aliles, yselivanov, DLitz, emptysquare, xupeng, rpcope1 |
2017-05-29 16:35:56 | serhiy.storchaka | set | messageid: <1496075756.13.0.367602344883.issue16500@psf.upfronthosting.co.za> |
2017-05-29 16:35:56 | serhiy.storchaka | link | issue16500 messages |
2017-05-29 16:35:55 | serhiy.storchaka | create | |
|