Skip to content

Conversation

@RealTrippR
Copy link

This is a fix for [BUG]: cthreads_thread_detach does not return 0 upon success for windows threads


#ifdef _WIN32
return CloseHandle(thread.wThread);
return CloseHandle(thread.wThread)==0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return CloseHandle(thread.wThread)==0;
return CloseHandle(thread.wThread) == 0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: cthreads_thread_detach does not return 0 upon success for windows threads

2 participants