Changeset 19341 in vbox for trunk/src/VBox/Runtime/r0drv/freebsd/thread2-r0drv-freebsd.c
- Timestamp:
- May 4, 2009 9:25:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/thread2-r0drv-freebsd.c
r18972 r19341 112 112 rc = rtThreadMain(pThreadInt, (RTNATIVETHREAD)Self, &pThreadInt->szName[0]); 113 113 114 #if __FreeBSD_version >= 800002 115 kproc_exit(rc); 116 #else 114 117 kthread_exit(rc); 118 #endif 115 119 } 116 120 … … 121 125 struct proc *pProc; 122 126 127 #if __FreeBSD_version >= 800002 128 rc = kproc_create(rtThreadNativeMain, pThreadInt, &pProc, RFHIGHPID, 0, "%s", pThreadInt->szName); 129 #else 123 130 rc = kthread_create(rtThreadNativeMain, pThreadInt, &pProc, RFHIGHPID, 0, "%s", pThreadInt->szName); 131 #endif 124 132 if (!rc) 125 133 {
Note:
See TracChangeset
for help on using the changeset viewer.