ntdll: Get the unix tid on DragonFly BSD.

This commit is contained in:
André Hentschel 2012-06-02 18:55:04 +02:00 committed by Alexandre Julliard
parent 1b1af34173
commit 4c44e151be
1 changed files with 2 additions and 0 deletions

View File

@ -955,6 +955,8 @@ static int get_unix_tid(void)
long lwpid; long lwpid;
thr_self( &lwpid ); thr_self( &lwpid );
ret = lwpid; ret = lwpid;
#elif defined(__DragonFly__)
ret = lwp_gettid();
#endif #endif
return ret; return ret;
} }