ThisThread() ?

BlitzMax Forums/BlitzMax Programming/ThisThread() ?

ImaginaryHuman(Posted 2009) [#1]
If I use the threading command ThisThread(), will that work when I have not created any threads, to return the `main thread`?


N(Posted 2009) [#2]
Yes, although the function is 'CurrentThread' or TThread.Current(), not 'ThisThread'. 


ImaginaryHuman(Posted 2009) [#3]
Ahh ok, thanks.