summaryrefslogtreecommitdiffstats
path: root/tsk/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'tsk/thread.c')
-rw-r--r--tsk/thread.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tsk/thread.c b/tsk/thread.c
new file mode 100644
index 0000000..7fbafa6
--- /dev/null
+++ b/tsk/thread.c
@@ -0,0 +1,7 @@
+#include "tasking.h"
+
+void
+thread_perm_release(struct Thread *thread, size_t mask)
+{
+ thread->perm &= ~mask;
+}