blob: 26aca5542673f493276871f145b13f545aa58795 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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");
}
}
|