thread->md.handle = thread->id = (TID) _beginthread( (void(* _Optlink)(void*))start, NULL, thread->stack->stackSize, thread);
thread->md.handle = thread->id = (TID) _beginthread(start, NULL, thread->stack->stackSize, thread);
_PR_MD_CREATE_THREAD(PRThread *thread,                   void (*start)(void *),                   PRThreadPriority priority,                   PRThreadScope scope,                   PRThreadState state,                   PRUint32 stackSize){    thread->md.handle = thread->id = (TID) _beginthread(                    (void(* _Optlink)(void*))start,                    NULL,                     thread->stack->stackSize,                    thread);    if(thread->md.handle == -1) {        return PR_FAILURE;    }    /*     * On OS/2, a thread is created with a thread priority of     * THREAD_PRIORITY_NORMAL     */    if (priority != PR_PRIORITY_NORMAL) {        _PR_MD_SET_PRIORITY(&(thread->md), priority);    }    return PR_SUCCESS;}