Skip to content

PR for Issue #471 Adding raii_thread only. - #504

Closed
Galik (galik) wants to merge 3 commits into
microsoft:masterfrom
galik:raii_thread
Closed

Galik (galik) wants to merge 3 commits into
microsoft:masterfrom
galik:raii_thread

Conversation

@galik

Copy link
Copy Markdown
Contributor

This PR adds <gsl/gsl_thread> and tests/thread_tests.cpp
Partially fixes Issue #471 (without detached_thread)

Notes:
This PR does not include detached_thread as per Herb Sutter (@hsutter) request in PR #481
I have copied the interface of std::thread.

@hsutter

Copy link
Copy Markdown
Contributor

Looks good to me.

Bikeshed issue: Do we really want to say "raii_thread"? Yes, that's what it is, but why not "joining_thread" or "scoped_thread"? Let me fire off some email to the Guideline editors to ask about the shed color...

@galik

Copy link
Copy Markdown
Contributor Author

Making a clean branch

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.

3 participants