Added RFTHREAD flag in rfork call.

This commit is contained in:
David Beck 2003-12-30 21:53:32 +00:00 committed by Alexandre Julliard
parent e14e101fed
commit ef7087a5ee
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ int wine_pthread_create_thread( struct wine_pthread_thread_info *info )
"ret;\n" "ret;\n"
"1:\n\t" /* parent -> caller thread */ "1:\n\t" /* parent -> caller thread */
"addl $8,%%esp" : "addl $8,%%esp" :
: "r" (sp), "g" (SYS_rfork), "g" (RFPROC | RFMEM) : "r" (sp), "g" (SYS_rfork), "g" (RFPROC | RFMEM | RFTHREAD)
: "eax", "edx"); : "eax", "edx");
return 0; return 0;
} }