Changeset 7b3e7f4 in mainline


Ignore:
Timestamp:
2006-06-09T23:52:46Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4b74488
Parents:
bebb6bc
Message:

Add interrupts_restore() to thread_join_timeout(). Note that this is not necessary, because
waitq_sleep_finish() does the job for thread_join_timeout(). However, the code looks more
correct in the form with interrupts_restore().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/proc/thread.c

    rbebb6bc r7b3e7f4  
    447447       
    448448        waitq_sleep_finish(&t->join_wq, rc, ipl);
     449        interrupts_restore(ipl);
    449450       
    450451        return rc;     
Note: See TracChangeset for help on using the changeset viewer.