Changeset e45f81a in mainline for generic/src/proc/thread.c


Ignore:
Timestamp:
2006-06-26T10:07:05Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7ee0e2f
Parents:
430f12c
Message:

Changed frame_alloc call, cleaned a lot of stuff, fixed some not-perfectly-correct error handling.

File:
1 edited

Legend:

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

    r430f12c re45f81a  
    125125{
    126126        thread_t *t = (thread_t *)obj;
    127         int status;
    128127
    129128        spinlock_initialize(&t->lock, "thread_t_lock");
     
    142141#endif 
    143142
    144         t->kstack = frame_alloc_rc(STACK_FRAMES, FRAME_KA | kmflags,&status);
    145         if (status) {
     143        t->kstack = frame_alloc(STACK_FRAMES, FRAME_KA | kmflags);
     144        if (! t->kstack) {
    146145#ifdef ARCH_HAS_FPU
    147146                if (t->saved_fpu_context)
Note: See TracChangeset for help on using the changeset viewer.