Changeset 116d3f6f in mainline for uspace/lib/libc/generic/thread.c


Ignore:
Timestamp:
2007-10-03T06:55:56Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
18525c5
Parents:
5b5d25f
Message:

Rename fibril_schedule_next_adv() to fibril_switch(). Rename
fibril_schedule_next() to fibril_yield(). Some fibril structures could be
uninitialized, set them to zero in fibril_setup(). For some fibrils, the stack
member can be NULL (e.g. every thread's first/main fibril); don't do free on
these stacks when cleaning up after a dead fibril.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/thread.c

    r5b5d25f r116d3f6f  
    105105        f = fibril_setup();
    106106        __tcb_set(f->tcb);
    107        
     107
    108108        uarg->uspace_thread_function(uarg->uspace_thread_arg);
    109109        /* XXX: we cannot free the userspace stack while running on it */
Note: See TracChangeset for help on using the changeset viewer.