You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I happen to have these laying about that have not been tested to any real degree yet. I don't know if this is what they were intended to be. Real world template classes seem to be a whole lot more complicated looking than the ones I make...
Would it be possible to throw together a PR containing these? That way they pass through the CLA process, so we get the legal clearance to use the code (not that I'm accusing you of trying to do anything shady, just trying to dot my i's and cross my t's). Having them as a PR would also make it easier for people to review\contribute to their evolution as necessary.
Neil MacIntosh (@neilmacintosh) Sure. I just posted what code I currently had here to make sure I had the functionality correct. Regarding gsl::detached_thread it doesn't seem to make much sense to implement moving, copying or joining. In fact the sooner the object dies the better as far as I can see. Would I delete the irrelevant functions or keep them to mimic equivalence with std::thread?
Maintainers' call: We never got around to implementing gsl::joining_thread, now that C++20 has std::jthread, please use that instead. Sorry this took so long.
Activity
neilmacintosh commentedon Mar 24, 2017
Thanks for pointing that out Sergey Zubkov (@cubbimew). It's nice to have an issue to track getting the implementation done.
They are somewhat down the implementation priority list at the moment, unless anyone wants to submit a PR.
galik commentedon Mar 24, 2017
note: edited to flesh out a few missing pieces.
I happen to have these laying about that have not been tested to any real degree yet. I don't know if this is what they were intended to be. Real world template classes seem to be a whole lot more complicated looking than the ones I make...
If there is more to it than this then you probably want to have real expert provide something more appropriate. 😄
neilmacintosh commentedon Apr 2, 2017
Galik (@galik) I appreciate any starting point ;-)
Would it be possible to throw together a PR containing these? That way they pass through the CLA process, so we get the legal clearance to use the code (not that I'm accusing you of trying to do anything shady, just trying to dot my i's and cross my t's). Having them as a PR would also make it easier for people to review\contribute to their evolution as necessary.
galik commentedon Apr 2, 2017
Neil MacIntosh (@neilmacintosh) Sure. I just posted what code I currently had here to make sure I had the functionality correct. Regarding
gsl::detached_threadit doesn't seem to make much sense to implement moving, copying or joining. In fact the sooner the object dies the better as far as I can see. Would I delete the irrelevant functions or keep them to mimic equivalence withstd::thread?Try accessing APPVEYOR_BUILD_FOLDER variable (microsoft#471)
Clang cl (#762)
JordanMaples commentedon Aug 26, 2020
Maintainers' call: We never got around to implementing gsl::joining_thread, now that C++20 has std::jthread, please use that instead. Sorry this took so long.