Documentation
¶
Overview ¶
Package queue is the line of up --wait processes waiting for memory. It has no service: each waiting process keeps one file under ~/.siding/queue, and every process reads the directory to learn its place. The order is the order of arrival; a process that ended leaves the line, also when it was killed, because a file whose process is gone counts as gone.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entry ¶
type Entry struct {
Project string `json:"project"`
PID int `json:"pid"`
Estimate int64 `json:"estimate"`
Since time.Time `json:"since"`
// contains filtered or unexported fields
}
Entry is one waiting up.
type Line ¶
type Line struct {
// contains filtered or unexported fields
}
Line is the queue directory of one machine.
Click to show internal directories.
Click to hide internal directories.