Minimalistic implementation of windows-linux threading through procedures.