test threads
Posted: Thu Aug 11, 2005 1:35 pm
hi all, ok, im trying to start multitasking with something like the F1 keys to switch, but i have no "easy" way to load test threads from disk(i do have fdc driver but don't like using it) and i saw people doing it like:
and use there swicther to swith them, what are they doing???, thx
Code: Select all
void task0()
{
while(1)
{
printf("something");
}
}
void task1()
{
while(1)
{
printf("something else");
}
}