Return Parameter
info result
6.18.4 Thread_Kill
Thread Functions
Syntax
void Thread_Kill(byte thread);
Sub Thread_Kill(thread As Byte)
Description
Terminates a thread. If 0 is given as thread number, the whole program will be terminated.
Parameter
thread (0-13) thread number
6.18.5 Thread_Lock
Thread Functions
Syntax
void Thread_Lock(byte lock);
Sub Thread_Lock(lock As Byte)
Description
With this function you can inhibit thread changes. This is reasonable if you have a series of port operations
or other hardware actions that should not timely be separated in a thread change.
If you forget to remove the thread lock, the multithreading is not working.
Parameter
lock if set to 1 thread changes are inhibited, 0 means thread changes are allowed
© 2008 Conrad Electronic
Libraries
192
Need help?
Do you have a question about the C-Control Pro Mega Series and is the answer not in the manual?
Questions and answers