System.Win32.Thread

Win32-2.12.0.0: A binding to Windows Win32 API.

Copyright | 2013 shelarcy
License | BSD-style
Maintainer | shelarcy@gmail.com
Stability | Provisional
Portability | Non-portable (Win32 API)
Safe Haskell | Safe-Inferred
Language | Haskell2010

System.Win32.Thread

Description

This modules provides just thread control APIs. This modules doesn't provide thread register control APIs. Because these APIs are used for Debugging.

# Documentation

type THANDLE = Ptr () Source #

type TID = DWORD Source #

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 #