Compare commits
2 Commits
2f34627d37
...
6d8bcb63f2
Author | SHA1 | Date |
---|---|---|
Ophestra Umiker | 6d8bcb63f2 | |
Ophestra Umiker | c7b77d6e5e |
|
@ -37,12 +37,14 @@ func Exit(code int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func Withhold() {
|
func Withhold() {
|
||||||
|
dequeueOnce.Do(dequeue)
|
||||||
if wstate.CompareAndSwap(false, true) {
|
if wstate.CompareAndSwap(false, true) {
|
||||||
withhold <- struct{}{}
|
withhold <- struct{}{}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func Resume() {
|
func Resume() {
|
||||||
|
dequeueOnce.Do(dequeue)
|
||||||
if wstate.CompareAndSwap(true, false) {
|
if wstate.CompareAndSwap(true, false) {
|
||||||
withhold <- struct{}{}
|
withhold <- struct{}{}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "fortify";
|
pname = "fortify";
|
||||||
version = "0.0.8";
|
version = "0.0.9";
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
|
Loading…
Reference in New Issue