Thread overview
[Issue 16453] Missing @nogc annotations
Dec 23, 2016
RazvanN
Dec 27, 2016
greenify
Feb 22, 2017
Jack Stouffer
December 23, 2016
https://issues.dlang.org/show_bug.cgi?id=16453

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |trivial
                 CC|                            |razvan.nitu1305@gmail.com

--
December 27, 2016
https://issues.dlang.org/show_bug.cgi?id=16453

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--- Comment #1 from greenify <greeenify@gmail.com> ---
Hmm due to Thread being a class the compiler thinks it can't be @nogc, so as a workaround sth. like `assumeNogc` could be it used. See e.g:

https://github.com/nordlow/phobos-next/blob/master/src/dbgio.d#L13

--
February 22, 2017
https://issues.dlang.org/show_bug.cgi?id=16453

Jack Stouffer <jack@jackstouffer.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jack@jackstouffer.com
         Resolution|---                         |FIXED

--- Comment #2 from Jack Stouffer <jack@jackstouffer.com> ---
Several functions in core.thread are now marked @nogc. If you have other specific functions in mind, please make other issues for them.

--