Cleaning up /demos/modules/gos/threads

Note: use GFILE print implementations here instead!!
remotes/origin_old/ugfx_release_2.6
Joel Bodenmann 2014-11-27 22:42:34 +01:00
parent 64fd92ab7d
commit f3d64c62b9
2 changed files with 4 additions and 1 deletions

View File

@ -37,4 +37,3 @@
//#define GFX_USE_OS_OSX FALSE
#endif /* _GFXCONF_H */

View File

@ -45,6 +45,8 @@ threadreturn_t Thread1_function(void* param)
printf("Message from Thread 1\r\n");
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);
gfxSleepMilliseconds(500);
}
return (threadreturn_t)0;
}
int main(void)