01-31-2006, 09:44 PM
shutdown -6 0 "FunctionName" kills all threads started by that function. But you cannot place this in that function because it would kill current thread too. Easy solution - use a launcher function. But maybe you could find something better.
Function Function18Launcher
Function Function18
Function Function18Launcher
Function Function18
