summaryrefslogtreecommitdiff
path: root/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface.c b/interface.c
index 6399cb8..26aca55 100644
--- a/interface.c
+++ b/interface.c
@@ -1,2 +1,16 @@
+#include <stdio.h>
+#include <unistd.h>
+
#include "interface.h"
+#include "mutex.h"
+
+void *interface(void *arg) {
+ InterfaceArgs* args = (InterfaceArgs*)arg;
+ (void)args;
+ while(1) {
+ // Do the thread stuff here.
+ sleep(1);
+ fprintf(stdout, "hi from interface thread\n");
+ }
+}