Ty for the archive Taazz.
Leledumbo, if I got that right, I'll have another variable that will say if the work is done or not...
If this is the case, it's not good enough... I'll have to check from the main thread for that variable and while it is false, to sleep => can't do anything else.
I want the secondary thread to signal the main one "Hey! I'm done" and the first one to take action on that, right away or after it finishes executing what he is at that moment...