Threading sample

Hi all,

I’m looking on a very basic Uno.Threading.Thread sample, does someone can show me how it work ?


Something along the lines of the following code should do it:

void TheThread()
    debug_log "Hello from the thread";

void StartTheThread()
    var t = Thread.Create(TheThread);

Thank you so much !
It’s working now …
I will provide my code on dealing with TCP Sockets via Javascript (and uno)

The only one little thing is that my app need to be killed … CTRL+C just freeze the app (maybe waiting from the thread to be terminated)