Some threading code cleanup
This commit is contained in:
1 parent
251b5f71c9
commit
c26434f814
3 files changed
+20
-23
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user