Added server pid and tid in init_thread request, and use them in
CLIENT_InitThread.
diff --git a/scheduler/sysdeps.c b/scheduler/sysdeps.c
index b634901..fa5034e 100644
--- a/scheduler/sysdeps.c
+++ b/scheduler/sysdeps.c
@@ -80,12 +80,8 @@
*/
static void SYSDEPS_StartThread( THDB *thdb )
{
- struct init_thread_request init;
-
SET_CUR_THREAD( thdb );
- init.unix_pid = getpid();
- CLIENT_SendRequest( REQ_INIT_THREAD, -1, 1, &init, sizeof(init) );
- CLIENT_WaitReply( NULL, NULL, 0 );
+ CLIENT_InitThread();
thdb->startup();
_exit(0); /* should never get here */
}