Commit 920a4abb authored by Robert Schmidt's avatar Robert Schmidt

Make link_manager threads joinable

This makes it possible to stop the link_manager by joining its threads.
parent e71adffc
......@@ -124,9 +124,6 @@ link_manager_t *create_link_manager(
pthread_attr_setschedpolicy(&attr, SCHED_RR);
//#endif
if (pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED))
goto error;
if (pthread_create(&t, &attr, link_manager_sender_thread, ret))
goto error;
ret->sender = t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment