Skip to content

Commit

Permalink
fix(Thread_POSIX): mark thread as not joined on start
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-f committed Apr 3, 2024
1 parent 06a068d commit e97ee58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Foundation/src/Thread_POSIX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ void ThreadImpl::startImpl(SharedPtr<Runnable> pTarget)
}
}
_pData->started = true;
_pData->joined = false;
pthread_attr_destroy(&attributes);

if (_pData->policy == SCHED_OTHER)
Expand Down

0 comments on commit e97ee58

Please sign in to comment.