summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 154af32..c65bd52 100644
--- a/structs.go
+++ b/structs.go
@@ -4,6 +4,7 @@
package main
import (
+ "sync"
"time"
"go.wit.com/gui"
@@ -33,6 +34,7 @@ type zookeep struct {
}
type stdTableWin struct {
+ sync.Mutex
win *gadgets.GenericWindow // the machines gui window
box *gui.Node // the machines gui parent box widget
TB *zoopb.MachinesTable // the machines gui table buffer