Compare commits
No commits in common. "6d8bcb63f28fb289aef8d4b702d7d938ac0af4eb" and "2f34627d3707517f447d8c94482f93575e9c1e72" have entirely different histories.
6d8bcb63f2
...
2f34627d37
|
@ -37,14 +37,12 @@ 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.9";
|
version = "0.0.8";
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
|
Loading…
Reference in New Issue