From 920bdc358831087c46db736120a718ed9a75fbd4 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 11 Oct 2024 07:51:18 +0200 Subject: Added boilerplate interface code --- interface.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'interface.c') diff --git a/interface.c b/interface.c index 6399cb8..26aca55 100644 --- a/interface.c +++ b/interface.c @@ -1,2 +1,16 @@ +#include +#include + #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"); + } +} -- cgit v1.2.3