Skip to content

Releases: mec07/rununtil

Fix race condition when calling CancelAll lots of times

29 Jan 12:46
84d5612
Compare
Choose a tag to compare
v0.2.2

Fix race condition from CancelAll (#5)

Update to interface: AwaitKillSignal, AwaitKillSignals and CancelAll

10 Oct 10:48
50bfd6d
Compare
Choose a tag to compare
Fix nonblockingmain test (#2)

* Add AwaitKillSignal and AwaitKillSignals and RunMain

* Update docs

* Add test for the failing case with Killed that prompted this

* update docs

* Make old functions use new functions

* Improve documentation

* Rename SimulateKillSignal to CancelAll

Improve interface of this library

12 Jun 15:19
615d675
Compare
Choose a tag to compare

To make the use of this library clearer, you now need to use a rununtil.RunnerFunc which returns a rununtil.ShutdownFunc.

Additionally a rununtil.Killed was implemented to allow for the testing of a function that uses rununtil.KillSignal.

Initial commit of rununtil library

05 Jun 16:11
Compare
Choose a tag to compare
v0.0.1

initial commit