Subversion Repositories HelenOS

Rev

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

Rev 3707 Rev 3790
Line 108... Line 108...
108
            spinlock_lock(&thread->lock);
108
            spinlock_lock(&thread->lock);
109
            thread->cpu = &cpus[0];
109
            thread->cpu = &cpus[0];
110
            spinlock_unlock(&thread->lock);
110
            spinlock_unlock(&thread->lock);
111
            thread_ready(thread);
111
            thread_ready(thread);
112
        } else
112
        } else
113
            panic("Unable to create kmp thread\n");
113
            panic("Unable to create kmp thread.");
114
        thread_join(thread);
114
        thread_join(thread);
115
        thread_detach(thread);
115
        thread_detach(thread);
116
    }
116
    }
117
#endif /* CONFIG_SMP */
117
#endif /* CONFIG_SMP */
118
   
118