Fork of LCD-Window which works with Enhanced TextLCD from Wim
Fork of LcdWindow by
Diff: semaphore.h
- Revision:
- 9:2fe93daa2106
- Parent:
- 3:e5d5e2fe4bf6
--- a/semaphore.h Mon Jan 10 22:57:59 2011 +0000
+++ b/semaphore.h Tue Feb 22 22:57:44 2011 +0000
@@ -18,10 +18,13 @@
// release the semaphore
void release();
+ static void setAbort(bool abort){_abort=abort;};
+
private:
enum { SemFree, SemTaken };
// semaphore value
int s;
+ static bool _abort;
};
