Ayke van Laethem
|
51504bfd2e
|
sync: make Pool thread-safe
Make sure the object is locked when trying to modify it.
Binary size seems unaffected when not using threading.
|
2024-11-22 11:55:52 +01:00 |
|
Anuraag Agrawal
|
a834359079
|
Update docs
|
2022-11-04 19:53:12 +01:00 |
|
Anuraag Agrawal
|
29f8d22a2d
|
sync: implement simple pooling in sync.Pool
|
2022-11-04 19:53:12 +01:00 |
|
Jaden Weiss
|
a2c7112b1f
|
properly handle nil New func in sync.Pool
|
2019-10-16 15:12:27 +02:00 |
|
Ayke van Laethem
|
7f60dd79ee
|
sync: implement dummy sync.Pool for fmt
|
2018-10-20 15:52:41 +02:00 |
|