Changeset 116d3f6f in mainline for uspace/lib/libc/generic/ipc.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/ipc.c

    r5b5d25f r116d3f6f  
    220220                if (can_preempt) {
    221221                        call->fid = fibril_get_id();
    222                         fibril_schedule_next_adv(FIBRIL_TO_MANAGER);
     222                        fibril_switch(FIBRIL_TO_MANAGER);
    223223                        /* Async futex unlocked by previous call */
    224224                } else {
Note: See TracChangeset for help on using the changeset viewer.