1) Network Functions
Is it safe and/or possible to use Network functions within threads ? Specifically SendNetworkData() and ReceiveNetworkData() ?
2) Using Debug in Threads
Is is possible to use "Debug" within threaded procedures, because most of the thread examples seem to use "PrintN" to output data instead of Debug ? Is using Debug akin to "writing to strings" (which seems to be a thread no-no) ?
3) Calling other Functions from a Threaded Function
Consider the following code:
Code: Select all
Procedure.l OutsideProc()
...
EndProcedure
Procedure ThreadedProc(MyParm.l)
...
OutsideProc()
...
EndProcedure
firstThread.l = CreateThread(@ThreadedProc(),123)
secondThread.l = CreateThread(@ThreadedProc(),222)
Thanks in advance for any help.