Some threading code cleanup

This commit is contained in:
2018-01-16 19:52:38 +01:00
parent 251b5f71c9
commit c26434f814
3 changed files with 20 additions and 23 deletions

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();
}
}