Changeset 25f62cdf in mainline


Ignore:
Timestamp:
2005-04-22T10:34:59Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f07bba5
Parents:
425913b
Message:

Fix waitq_sleep_timeout() to call before_thread_runs() when handling timeout.

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Makefile.config

    r425913b r25f62cdf  
    2323#TEST_DIR=synch/rwlock2/
    2424#TEST_DIR=synch/rwlock3/
    25 #TEST_DIR=synch/rwlock4/
    26 TEST_DIR=synch/rwlock5/
     25TEST_DIR=synch/rwlock4/
     26#TEST_DIR=synch/rwlock5/
    2727#TEST_DIR=synch/semaphore1/
    2828#TEST_DIR=synch/semaphore2/
  • src/synch/waitq.c

    r425913b r25f62cdf  
    167167                         * Short emulation of scheduler() return code.
    168168                         */
     169                        before_thread_runs();
    169170                        spinlock_unlock(&THREAD->lock);
    170171                        cpu_priority_restore(pri);
Note: See TracChangeset for help on using the changeset viewer.