18#ifndef _COBALT_UAPI_MONITOR_H
19#define _COBALT_UAPI_MONITOR_H
21#include <cobalt/uapi/kernel/types.h>
23struct cobalt_monitor_state {
26#define COBALT_MONITOR_GRANTED 0x01
27#define COBALT_MONITOR_DRAINED 0x02
28#define COBALT_MONITOR_SIGNALED 0x03
29#define COBALT_MONITOR_BROADCAST 0x04
30#define COBALT_MONITOR_PENDED 0x08
35struct cobalt_monitor_shadow {
39#define COBALT_MONITOR_SHARED 0x1
40#define COBALT_MONITOR_WAITGRANT 0x0
41#define COBALT_MONITOR_WAITDRAIN 0x1
44typedef struct cobalt_monitor_shadow cobalt_monitor_t;
Copyright © 2011 Gilles Chanteperdrix gilles.chanteperdrix@xenomai.org.
Definition atomic.h:24