Copyright | 2013 shelarcy |
---|---|
License | BSD-style |
Maintainer | shelarcy@gmail.com |
Stability | Provisional |
Portability | Non-portable (Win32 API) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This modules provides just thread control APIs. This modules doesn't provide thread register control APIs. Because these APIs are used for Debugging.
Documentation
getCurrentThread :: IO THANDLE Source #
suspendThread :: THANDLE -> IO DWORD Source #
resumeThread :: THANDLE -> IO DWORD Source #
withSuspendedThread :: THANDLE -> IO a -> IO a Source #
getThreadId :: THANDLE -> IO TID Source #
getCurrentThreadId :: IO TID Source #