summaryrefslogtreecommitdiffhomepage
path: root/pkg/waiter/waiter.go
diff options
context:
space:
mode:
authorIan Gudger <igudger@google.com>2018-10-03 17:02:05 -0700
committerShentubot <shentubot@google.com>2018-10-03 17:03:09 -0700
commit4fef31f96c289d5e58c3c2997ee38fcb22c0378f (patch)
treecc05ab5e2841ff987e126095657db94a1492d12b /pkg/waiter/waiter.go
parent9f2ba6ac3e7b56d428ef4369a7326dd85f30642d (diff)
Add S/R support for FIOASYNC
PiperOrigin-RevId: 215655197 Change-Id: I668b1bc7c29daaf2999f8f759138bcbb09c4de6f
Diffstat (limited to 'pkg/waiter/waiter.go')
-rw-r--r--pkg/waiter/waiter.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/waiter/waiter.go b/pkg/waiter/waiter.go
index 9825880ca..832b6a5a9 100644
--- a/pkg/waiter/waiter.go
+++ b/pkg/waiter/waiter.go
@@ -113,6 +113,8 @@ type EntryCallback interface {
// Entry represents a waiter that can be add to the a wait queue. It can
// only be in one queue at a time, and is added "intrusively" to the queue with
// no extra memory allocations.
+//
+// +stateify savable
type Entry struct {
// Context stores any state the waiter may wish to store in the entry
// itself, which may be used at wake up time.