Subversion Repositories HelenOS-historic

Rev

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

Rev 1719 Rev 1720
Line 153... Line 153...
153
        else if (ctype == PS_FROM_MANAGER) {
153
        else if (ctype == PS_FROM_MANAGER) {
154
            list_append(&srcpt->link, &manager_list);
154
            list_append(&srcpt->link, &manager_list);
155
            threads_in_manager--;
155
            threads_in_manager--;
156
        } /* If ctype == PS_TO_MANAGER, don't save ourselves to any list, we should
156
        } /* If ctype == PS_TO_MANAGER, don't save ourselves to any list, we should
157
           * already be somewhere, or we will be lost */
157
           * already be somewhere, or we will be lost */
158
    }
158
    } else
-
 
159
        srcpt = NULL; /* Avoid GCC warning, if ctype == PS_FROM_DEAD, srcpt is not used */
159
 
160
 
160
    /* Choose new thread to run */
161
    /* Choose new thread to run */
161
    if (ctype == PS_TO_MANAGER || ctype == PS_FROM_DEAD) {
162
    if (ctype == PS_TO_MANAGER || ctype == PS_FROM_DEAD) {
162
        dstpt = list_get_instance(manager_list.next,psthread_data_t, link);
163
        dstpt = list_get_instance(manager_list.next,psthread_data_t, link);
163
        if (serialization_count && ctype == PS_TO_MANAGER) {
164
        if (serialization_count && ctype == PS_TO_MANAGER) {