Skip to content
Permalink
Browse files

dev9ghzdrk: pthread_create returns status, not thread handle

  • Loading branch information...
JayFoxRox authored and lightningterror committed Mar 10, 2019
1 parent 7354c1f commit 7982e3abfe60f86b5cb17d2bc772f8a379ff299c
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/dev9ghzdrk/Linux/net.cpp
@@ -55,7 +55,7 @@ void InitNet(NetAdapter* ad)
int max_prio_for_policy = 0;


rx_thread = pthread_create(&rx_thread, NULL, NetRxThread, NULL);
int ret = pthread_create(&rx_thread, NULL, NetRxThread, NULL);
pthread_attr_init(&thAttr);
pthread_attr_getschedpolicy(&thAttr, &policy);
max_prio_for_policy = sched_get_priority_max(policy);

0 comments on commit 7982e3a

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.