Skip to content
Snippets Groups Projects
Commit 920a4abb authored by Robert Schmidt's avatar Robert Schmidt
Browse files

Make link_manager threads joinable

This makes it possible to stop the link_manager by joining its threads.
parent e71adffc
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment