Ignore:
Timestamp:
Mar 17, 2000, 5:08:40 PM (25 years ago)
Author:
sandervl
Message:

fix for handle of thread 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/wprocess.cpp

    r3128 r3140  
    1 /* $Id: wprocess.cpp,v 1.73 2000-03-16 19:20:40 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.74 2000-03-17 16:08:40 sandervl Exp $ */
    22
    33/*
     
    138138                return NULL;
    139139        }
    140         HMHandleAllocate(&hThreadMain, O32_GetCurrentThread());
     140        //SvL: This doesn't really create a thread, but only sets up the
     141        //     handle of thread 0
     142        hThreadMain = HMCreateThread(NULL, 0, 0, 0, 0, 0, TRUE);
    141143   }
    142144   if(OSLibAllocSel(PAGE_SIZE, &tibsel) == FALSE)
Note: See TracChangeset for help on using the changeset viewer.