Instructions

360Libraries
© 2013 Conrad Electronic
Parameter
signal signal value
5.25.9 Thread_Start
Thread Functions Example
Syntax
void Thread_Start(byte thread, dword func);
Sub Thread_Start(Byte thread As Byte, func As ULong)
Description
A new thread gets started. Every function in the program can be used as starting function for the thread.
If the thread is started inside a function that has parameters defined in the function header, the value
of these parameters is undefined!
Parameter
thread (0-13) thread number
func function name of the function where the thread will be started
5.25.10 Thread_Wait
Thread Functions
Syntax
void Thread_Wait(byte thread, byte signal);
Sub Thread_Wait(thread As Byte, signal As Byte)
Description
The thread gets the state "waiting". The state can be changed back to "inactive" with calls to Thread_Re-
sume() or Thread_Signal().
Parameter
thread (0-13) thread number
signal signal value