Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 5:3b94e16f0675, committed 2014-01-28
- Comitter:
- trixrabbit
- Date:
- Tue Jan 28 20:29:36 2014 +0000
- Parent:
- 3:cd25d0efe0e1
- Commit message:
- update priority
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r cd25d0efe0e1 -r 3b94e16f0675 main.cpp --- a/main.cpp Tue Jan 28 19:36:56 2014 +0000 +++ b/main.cpp Tue Jan 28 20:29:36 2014 +0000 @@ -15,11 +15,11 @@ Thread thread2(AnnEvent_thread); Thread thread3(Collector_thread); - /* - thread1.set_priority(osPriorityRealtime); - thread2.set_priority(osPriorityRealtime); + + thread1.set_priority(osPriorityHigh); + thread2.set_priority(osPriorityHigh); thread3.set_priority(osPriorityNormal); - */ + while (true){} }