blob: d786c7299e58c5e3fcf2c882900cc2b526fc071d [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library zx;
@transport("Syscall")
@no_protocol_prefix
protocol SpecialNonBlocking {
// The go runtime needs these not to be marked nonblocking, even when tagged
// blocking.
@blocking
FutexWait(struct {
a uint32;
}) -> (struct {
status status;
});
@blocking
Nanosleep(struct {
a uint32;
}) -> (struct {
status status;
});
};