~kris/9p

glenda

ref: 5a3dd002509396cc22635ea78f0236a6987aeb15 glenda/misc.go -rw-r--r-- 234 bytes
5a3dd002 — Henesy add guard for slice index 0 - crashed 12/13 for unknown reasons on this (had size 0) 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package main

// Miscellaneous utilities for communicating with Mux

import (
	"time"
)

// Service for communicating with Mux (starts once)
func CommMux() {
	for {
		select {
		default:
		}

		time.Sleep(500 * time.Millisecond)
	}
}