OS2 API:DosCreateThread
From EDM2
Contents |
[edit] DosCreateThread
- DosCreaeThread( tid, function, parameter, flags, stacksize )
- Create another thread that runs function.
[edit] Parameters
- tid - PTID - output
- Thread ID
- function - PFNTHREAD - input
- Function to run in new therad
- parameter - ULONG - input
- Parameter passed to function
- flags - ULONG - input
- Flags for the new thread
- stacksize - ULONG - input
- Stack size for the new thread
[edit] Constants
None
[edit] Retuns
[edit] Prototype
APIRET DosCreateThread( PTID tid,
PFNTHREAD function,
ULONG parameter,
ULONG flags,
ULONG stack_size );
[edit] Module
[edit] Define C/C++
INCL_DOSPROCESS
[edit] Export Name/Ordinal
[edit] Calling Convention
[edit] Example Code
[edit] Relater Functions
[edit] Notes
[edit] OS Version Introduced
OS/2 1.0

