Subversion Repositories HelenOS

Rev

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

Rev 3018 Rev 3026
Line 174... Line 174...
174
            slab_free(fpu_context_slab, t->saved_fpu_context);
174
            slab_free(fpu_context_slab, t->saved_fpu_context);
175
#endif
175
#endif
176
        return -1;
176
        return -1;
177
    }
177
    }
178
 
178
 
179
    spinlock_initialize(&t->udebug.lock, "thread_debug_lock");
179
    mutex_initialize(&t->udebug.lock);
180
 
180
 
181
    return 0;
181
    return 0;
182
}
182
}
183
 
183
 
184
/** Destruction of thread_t object */
184
/** Destruction of thread_t object */