We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae0de4 commit 486764fCopy full SHA for 486764f
src/util.c
@@ -7,6 +7,9 @@ tid_t thread_start (thread_worker_t worker, void *args)
7
tid_t tid = -1;
8
pthread_attr_t attr;
9
10
+ /* init thread attributes */
11
+ pthread_attr_init(&attr);
12
+
13
pthread_create(&tid, &attr, worker, args);
14
return tid;
15
}
0 commit comments