diff options
| author | kulikov <[email protected]> | 2026-06-08 20:33:12 +0300 |
|---|---|---|
| committer | kulikov <[email protected]> | 2026-06-08 21:16:24 +0300 |
| commit | a6848417fed706ec4f89a589c2ea9aa54eb39829 (patch) | |
| tree | af48afb81fa9cf3f34deb97264f9476f7f78b07b /contrib/python/python-dateutil/py2 | |
| parent | 05306e1b310e5448f73063ce549a78a5408efbe7 (diff) | |
Improve TGenericLocalValue, allow mixed thread-fiber-etc values
Make generic local values more safe and usable:
- instead of factory, register fiber/coroutine-aware "GLS (general local storage) contexts";
- put up to 4 (normally no more than 2 -- threads and one coroutine implementation) different "tls" variables into one generic, choose correct one from current execution context;
- suitable version of variable will be constructed on demand (no dependency from first usage);
- improve unit test too.
commit_hash:8586846a6a775bd66dffcdf58263f78042be2480
Diffstat (limited to 'contrib/python/python-dateutil/py2')
0 files changed, 0 insertions, 0 deletions
