now correctly init the thread id in the pthread struct for main thread and threads spawned with spawn_thread(). This definitely helps for #7235.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40665 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2011-02-24 17:28:59 +00:00
parent 2f76808976
commit bafa759148
4 changed files with 16 additions and 2 deletions
@@ -41,6 +41,8 @@ void __init_pwd_backend(void);
void __reinit_pwd_backend_after_fork(void);
void* __arch_get_caller(void);
void __init_pthread(void);
#ifdef __cplusplus
}