Changeset 116d3f6f in mainline for uspace/srv


Ignore:
Timestamp:
2007-10-03T06:55:56Z (18 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/srv/fs/fat/fat.c

    r5b5d25f r116d3f6f  
    183183        async_set_client_connection(fat_connection);
    184184
    185         async_create_manager();
    186 
    187         /*
    188          * TODO: Interestingly, if we merely return, the only thread dies.
    189          *       If the only thread dies, the whole task is destroyed.
    190          *       Prevent the thread from exiting when there are active fibrils.
    191          */
    192         fibril_schedule_next_adv(FIBRIL_FROM_DEAD);
     185        async_manager();
    193186        /* not reached */
    194 
    195187        return 0;
    196188}
Note: See TracChangeset for help on using the changeset viewer.