Add insert and delete function

This commit is contained in:
PolynomialDivision 2017-07-15 23:20:16 +02:00
parent ecb6c6b80f
commit 454e44cf5d
4 changed files with 167 additions and 11 deletions

View file

@ -48,10 +48,15 @@ int main(int argc, char **argv) {
return 1;
}
if (pthread_mutex_init(&probe_array_mutex, NULL) != 0) {
printf("\n mutex init failed\n");
return 1;
}
init_socket_runopts(opt_broadcast_ip, opt_broadcast_port, 0);
pthread_t tid;
pthread_create(&tid, NULL, &remove_thread, NULL);
//pthread_t tid;
//pthread_create(&tid, NULL, &remove_thread, NULL);
dawn_init_ubus(ubus_socket, opt_hostapd_dir);