Copyright | 2013 shelarcy |
---|---|
License | BSD-style |
Maintainer | shelarcy@gmail.com |
Stability | Provisional |
Portability | Non-portable (Win32 API) |
Safe Haskell | Safe |
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
suspendThread :: THANDLE -> IO DWORD #
c_SuspendThread :: THANDLE -> IO DWORD #
resumeThread :: THANDLE -> IO DWORD #
c_ResumeThread :: THANDLE -> IO DWORD #
withSuspendedThread :: THANDLE -> IO a -> IO a #
getThreadId :: THANDLE -> IO TID #
c_GetThreadId :: THANDLE -> IO TID #
getCurrentThreadId :: IO TID #