blob: f21e46f866dc7a1e9f59fb916a5872a3461cc8b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "communication.h"
pthread_mutex_t suspend_request_mutex;
suspend_request_t suspend_request;
void init_communication()
{
pthread_mutex_init(&suspend_request_mutex, NULL);
suspend_request.done=true;
}
void uninit_communication()
{
pthread_mutex_destroy(&suspend_request_mutex);
}
|