20 Commits
Author SHA1 Message Date
sashakoshka 417eb2f962 sync/atomic: Actually call the load function 2025-09-12 06:11:45 -04:00
sashakoshka c49e33b0c3 sync: Make Monitor.BorrowReturn actually function as intended 2025-09-10 20:53:44 -04:00
sashakoshka afcc57aa70 Add generic atomic value 2025-05-09 10:08:54 -04:00
sashakoshka c4e2a0f641 sync: Made doc comment on Gate.Close make more sense 2025-01-26 00:11:17 -05:00
sashakoshka fd85de4a44 sync: Found a way to make Gate work 2025-01-26 00:09:02 -05:00
sashakoshka 2173550bc8 sync: Test idempotency of Gate.Close 2025-01-25 19:58:51 -05:00
sashakoshka b5044de085 sync: Test Gate 2025-01-25 19:52:59 -05:00
sashakoshka 597e3189ca sync: Add tests for RWMonitor as well 2024-12-29 02:33:32 -05:00
sashakoshka eebe3d2179 sync: Add monitor tests 2024-12-29 02:32:27 -05:00
sashakoshka 6e902df516 sync: Add Monitor.BorrowReturn 2024-12-29 02:32:13 -05:00
sashakoshka b9369570ae sync: Rename locker.go to monitor.go 2024-12-22 19:59:10 -05:00
sashakoshka a7cb9b50dc sync: Rename Locker to Monitor
Locker is an interface type in the stdlib sync package.
2024-12-22 19:11:50 -05:00
sashakoshka 58052e8679 sync: Add RWLocker from previous repo 2024-12-18 08:53:55 -07:00
sashakoshka 1a13d59a05 sync: Add package-level doc comment 2024-12-14 23:58:31 -05:00
sashakoshka c6f54927b0 sync: Add Locker type 2024-12-04 20:02:54 -05:00
sashakoshka 0f9d8fb102 sync: Select, Combine work with more channel types 2024-12-04 20:00:19 -05:00
sashakoshka 09aa19e7c1 sync: Add Select, Combine 2024-12-02 14:34:39 -05:00
sashakoshka 9fd40a37b8 sync: Don't panic on double close of Gate, return error instead 2024-11-11 11:38:59 -05:00
sashakoshka 709f41a974 sync: Add a Reset method to Gate which re-opens it. 2024-11-05 17:12:50 -05:00
sashakoshka f40eca261b Add sync package containing Gate 2024-10-31 17:46:28 -04:00