Cleaning up /demos/modules/gos/threads
Note: use GFILE print implementations here instead!!
This commit is contained in:
parent
64fd92ab7d
commit
f3d64c62b9
2 changed files with 4 additions and 1 deletions
|
@ -37,4 +37,3 @@
|
||||||
//#define GFX_USE_OS_OSX FALSE
|
//#define GFX_USE_OS_OSX FALSE
|
||||||
|
|
||||||
#endif /* _GFXCONF_H */
|
#endif /* _GFXCONF_H */
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,8 @@ threadreturn_t Thread1_function(void* param)
|
||||||
printf("Message from Thread 1\r\n");
|
printf("Message from Thread 1\r\n");
|
||||||
gfxSleepMilliseconds(500);
|
gfxSleepMilliseconds(500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return (threadreturn_t)0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -59,6 +61,8 @@ threadreturn_t Thread2_function(void* param)
|
||||||
printf("Message from Thread 2: %s\r\n", (char*)param);
|
printf("Message from Thread 2: %s\r\n", (char*)param);
|
||||||
gfxSleepMilliseconds(500);
|
gfxSleepMilliseconds(500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return (threadreturn_t)0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
|
|
Loading…
Add table
Reference in a new issue