aboutsummaryrefslogtreecommitdiff
path: root/timerevent.dcl
diff options
context:
space:
mode:
Diffstat (limited to 'timerevent.dcl')
-rw-r--r--timerevent.dcl15
1 files changed, 15 insertions, 0 deletions
diff --git a/timerevent.dcl b/timerevent.dcl
new file mode 100644
index 0000000..656e8a3
--- /dev/null
+++ b/timerevent.dcl
@@ -0,0 +1,15 @@
+definition module timerevent
+
+
+// Clean Object I/O library, version 1.2
+
+/* timerevent defines the DeviceEventFunction for the timer device.
+ This function is placed in a separate module because it is platform dependent.
+*/
+
+
+import deviceevents
+from iostate import :: PSt
+
+
+timerEvent :: !SchedulerEvent !(PSt .l) -> (!Bool,!Maybe DeviceEvent,!SchedulerEvent,!PSt .l)