Changeset 449dc1ed in mainline


Ignore:
Timestamp:
2006-12-13T13:52:39Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
84757b5
Parents:
e9db6f9e
Message:

proper initialization of last_cycle

File:
1 edited

Legend:

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

    re9db6f9e r449dc1ed  
    112112        void (*f)(void *) = THREAD->thread_code;
    113113        void *arg = THREAD->thread_arg;
     114        THREAD->last_cycle = get_cycle();
    114115
    115116        /* this is where each thread wakes up after its creation */
Note: See TracChangeset for help on using the changeset viewer.