AttachThreadInput(idAttach, idAttachTo, Attach)
Attaches or detaches the input of two threads
Parameters
idAttach : int
The id of a threadidAttachTo : int
The id of the thread to which it will be attachedAttach : bool
Indicates whether thread should be attached or detached