I broke pthreads in r25390. The thread pointer was passed in the wrong

argument.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25396 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-05-09 15:05:17 +00:00
parent aa8bff87ee
commit ec5867990b
+2 -2
View File
@@ -118,8 +118,8 @@ pthread_create(pthread_t *_thread, const pthread_attr_t *_attr,
attributes.entry = pthread_thread_entry;
attributes.name = "pthread func";
attributes.priority = attr->sched_priority;
attributes.args1 = thread;
attributes.args2 = NULL;
attributes.args1 = NULL;
attributes.args2 = thread;
attributes.stack_address = NULL;
attributes.stack_size = attr->stack_size;