Subversion Repositories HelenOS

Rev

Rev 2533 | Rev 2536 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2533 Rev 2534
Line 119... Line 119...
119
     */
119
     */
120
    async_wait_for(req, NULL);
120
    async_wait_for(req, NULL);
121
    dprintf("FAT filesystem registered.\n");
121
    dprintf("FAT filesystem registered.\n");
122
 
122
 
123
    /*
123
    /*
124
     * TODO: Interestingly, if we return, the only thread dies.
124
     * TODO: Interestingly, if we merely return, the only thread dies.
125
     *       If the only thread dies, the whole task is destroyed.
125
     *       If the only thread dies, the whole task is destroyed.
126
     *       Prevent the thread from exiting when there are active fibrils.
126
     *       Prevent the thread from exiting when there are active fibrils.
127
     */
127
     */
128
    while(1)
128
    fibril_schedule_next_adv(FIBRIL_FROM_DEAD);
129
        usleep(1000000);
129
    /* not reached */
130
   
130
 
131
    return 0;
131
    return 0;
132
}
132
}
133
 
133
 
134
/**
134
/**
135
 * @}
135
 * @}