Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/task.c

    rfeeac0d r2f2beb4  
    452452       
    453453        /* Current values of threads */
    454         list_foreach(task->threads, th_link, thread_t, thread) {
     454        list_foreach(task->threads, cur) {
     455                thread_t *thread = list_get_instance(cur, thread_t, th_link);
     456               
    455457                irq_spinlock_lock(&thread->lock, false);
    456458               
     
    482484         */
    483485       
    484         list_foreach(task->threads, th_link, thread_t, thread) {
     486        list_foreach(task->threads, cur) {
     487                thread_t *thread = list_get_instance(cur, thread_t, th_link);
    485488                bool sleeping = false;
    486489               
Note: See TracChangeset for help on using the changeset viewer.