From 9ff6a3d031d2ffaf2863e2a866f7a96ed7ddd029 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Mon, 9 Aug 2010 07:42:06 -0700 Subject: Added class to abstract away platform specific thread primitives. --- src/rt/sync/sync.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/rt/sync/sync.h (limited to 'src/rt/sync/sync.h') diff --git a/src/rt/sync/sync.h b/src/rt/sync/sync.h new file mode 100644 index 00000000..902b5661 --- /dev/null +++ b/src/rt/sync/sync.h @@ -0,0 +1,9 @@ +#ifndef SYNC_H +#define SYNC_H + +class sync { +public: + static void yield(); +}; + +#endif /* SYNC_H */ -- cgit v1.2.3