Some threading code cleanup

This commit is contained in:
thomas committed 2018-03-21 23:12:43 +01:00
1 parent 251b5f71c9
commit c26434f814
3 files changed
+20 -23

No files matched your search

+2 -2
View File
@@ -10,11 +10,11 @@
void thread_function()
{
int tid = get_tid();
int thread_id = get_tid();
while(1)
{
debug("Thread %d\n", tid);
debug("Thread %d\n", thread_id);
yield();
}
}