[Issue 13166] New: pause and resume threads
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jul 20 04:52:31 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13166
Issue ID: 13166
Summary: pause and resume threads
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: Phobos
Assignee: nobody at puremagic.com
Reporter: sycam.inc at gmail.com
the core.thread class should have some mechanism for pausing or resuming
threads or alternately should expose the OS thread handles so we can use OS
specific thread functions (Not Advised)
on windows it would be a wrapper for suspendthread and ResumeThread
however on POSIX you would have to implement your own mechanism for doing so as
pthread doesn't provide any such mechanism.
--
More information about the Digitalmars-d-bugs
mailing list