Skip to content

Commit 606e479

Browse files
committed
emc/schedrmt: detaching thread
1 parent b3d7858 commit 606e479

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/emc/usr_intf/schedrmt.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,6 +1292,7 @@ int main(int argc, char *argv[])
12921292

12931293
schedInit();
12941294
res = pthread_create(&updateThread, NULL, checkQueue, (void *)NULL);
1295+
pthread_detach(updateThread);
12951296
if(res != 0) { perror("pthread_create"); return 1; }
12961297
if (useSockets) sockMain();
12971298

0 commit comments

Comments
 (0)