git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@333 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2008-07-04 12:12:25 +00:00
parent e5bd637729
commit f53cac6961
7 changed files with 9 additions and 9 deletions

View File

@ -46,7 +46,7 @@ int main(int argc, char **argv) {
*/ */
chSysInit(); chSysInit();
chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL); chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
while (TRUE) { while (TRUE) {
chThdSleep(500); chThdSleep(500);

View File

@ -51,8 +51,8 @@ int main(int argc, char **argv) {
*/ */
chSysInit(); chSysInit();
chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL); chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
chThdCreate(NORMALPRIO - 1, 0, waWebThread, sizeof(waWebThread), WebThread, NULL); chThdCreateFast(NORMALPRIO - 1, waWebThread, sizeof(waWebThread), WebThread);
while (TRUE) { while (TRUE) {
chThdSleep(500); chThdSleep(500);

View File

@ -69,8 +69,8 @@ int main(int argc, char **argv) {
/* /*
* Creates the blinker threads. * Creates the blinker threads.
*/ */
chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL); chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
chThdCreate(NORMALPRIO, 0, waThread2, sizeof(waThread2), Thread2, NULL); chThdCreateFast(NORMALPRIO, waThread2, sizeof(waThread2), Thread2);
/* /*
* Normal main() thread activity, in this demo it does nothing except * Normal main() thread activity, in this demo it does nothing except

View File

@ -52,7 +52,7 @@ int main(int argc, char **argv) {
/* /*
* Creates the blinker threads. * Creates the blinker threads.
*/ */
chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL); chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
/* /*
* Normal main() thread activity, in this demo it does nothing except * Normal main() thread activity, in this demo it does nothing except

View File

@ -69,7 +69,7 @@ int main(int argc, char **argv) {
/* /*
* Starts the LED blinker thread. * Starts the LED blinker thread.
*/ */
chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL); chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
while(TRUE) while(TRUE)
chEvtWait(ALL_EVENTS, handlers); chEvtWait(ALL_EVENTS, handlers);

View File

@ -80,7 +80,7 @@ int main(int argc, char **argv) {
/* /*
* Starts the LED blinker thread. * Starts the LED blinker thread.
*/ */
chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL); chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
while(TRUE) while(TRUE)
chEvtWait(ALL_EVENTS, handlers); chEvtWait(ALL_EVENTS, handlers);

View File

@ -56,7 +56,7 @@ int main(int argc, char **argv) {
/* /*
* Creates the blinker threads. * Creates the blinker threads.
*/ */
chThdCreate(NORMALPRIO, 0, waThread1, sizeof(waThread1), Thread1, NULL); chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
/* /*
* Normal main() thread activity, in this demo it does nothing except * Normal main() thread activity, in this demo it does nothing except