mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
wMerge branch 'master' of github.com:berlin-open-wireless-lab/DAWN
This commit is contained in:
commit
fa52176cd8
2 changed files with 2 additions and 10 deletions
|
|
@ -55,11 +55,8 @@ typedef struct client_s {
|
|||
|
||||
|
||||
// Array
|
||||
|
||||
|
||||
#define ARRAY_CLIENT_LEN 1000
|
||||
#define TIME_THRESHOLD_CLIENT 60
|
||||
#define TIME_THRESHOLD_CLIENT_UPDATE 10
|
||||
#define TIME_THRESHOLD_CLIENT 5
|
||||
|
||||
struct client_s client_array[ARRAY_CLIENT_LEN];
|
||||
pthread_mutex_t client_array_mutex;
|
||||
|
|
|
|||
|
|
@ -58,12 +58,7 @@ int main(int argc, char **argv) {
|
|||
printf("\n mutex init failed\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (pthread_mutex_init(&send_mutex, NULL) != 0) {
|
||||
printf("\n mutex init failed\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
init_socket_runopts(opt_broadcast_ip, opt_broadcast_port, 1);
|
||||
|
||||
pthread_t tid_probe;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue