From 2e69ebf6999102c27c21615b610400a0d922e8c9 Mon Sep 17 00:00:00 2001 From: Agustina Arzille Date: Mon, 4 Apr 2016 19:16:31 -0300 Subject: Lightweight synchronization mechanism * Makefrag.am (libkernel_a_SOURCES): Add kern/gsync.c and kern/gsync.h. * include/mach/gnumach.defs (gsync_wait, gsync_wake, gsync_requeue): New routines. * include/mach/kern_return.h (KERN_TIMEDOUT, KERN_INTERRUPTED): New error codes. * kern/gsync.c: New file. * kern/gsync.h: New file. * kern/startup.c: Include (setup_main): Call gsync_setup. --- Makefrag.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefrag.am') diff --git a/Makefrag.am b/Makefrag.am index 6ffc8cce..e001d65d 100644 --- a/Makefrag.am +++ b/Makefrag.am @@ -144,6 +144,8 @@ libkernel_a_SOURCES += \ kern/eventcount.h \ kern/exception.c \ kern/exception.h \ + kern/gsync.c \ + kern/gsync.h \ kern/host.c \ kern/host.h \ kern/ipc_host.c \ -- cgit v1.2.3