new mulithreading switch function.
new mulithreading switch function.

should work on both linux and win32 platforms

bluerover/6lbr,bluerover/6lbr,MohamedSeliem/contiki,arurke/contiki,bluerover/6lbr,arurke/contiki,bluerover/6lbr,arurke/contiki,MohamedSeliem/contiki,arurke/contiki,arurke/contiki,arurke/contiki,bluerover/6lbr,MohamedSeliem/contiki,bluerover/6lbr,MohamedSeliem/contiki,MohamedSeliem/contiki,bluerover/6lbr,arurke/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki