D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 14601 - pthread functions aren't marked @nogc
Summary: pthread functions aren't marked @nogc
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: x86_64 Windows
: P1 blocker
Assignee: Thayne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-18 10:59 UTC by ponce
Modified: 2016-10-01 11:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ponce 2015-05-18 10:59:08 UTC
https://github.com/D-Programming-Language/druntime/blob/e66f03494a13c7ce13bbe4c260ce689682af865e/src/core/sys/posix/pthread.d#L26

That makes it impossible to build any sort of @nogc nothrow synchronization.
Comment 1 github-bugzilla 2016-08-06 00:53:26 UTC
Commit pushed to master at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/305dfed2fdb82680c9d9756a53f1509ea9454e5d
Add @nogc to pthread functions.

Fixes Issue 14601
Comment 2 github-bugzilla 2016-10-01 11:45:07 UTC
Commit pushed to stable at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/305dfed2fdb82680c9d9756a53f1509ea9454e5d
Add @nogc to pthread functions.