Changeset 1272 for trunk/dll/arccnrs.c


Ignore:
Timestamp:
Nov 10, 2008, 3:10:06 PM (17 years ago)
Author:
Gregg Young
Message:

Remove priority_bumped from WaitChildThread and added some comments (Ticket 58)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/arccnrs.c

    r1271 r1272  
    169169  CHAR   *pszEnvironment;
    170170  CHAR   formatstring[40];       //Usally "%s"
    171   CHAR   CmdLine[1024];    //Use sprintf to format multipart command line into single string
     171  CHAR   CmdLine[1024];          //Use sprintf to format multipart command line into single string
    172172}
    173173WAITCHILD;
    174174
    175 // Creates a thread to wait for a child process to complete then posts a message and closes
     175/** Creates a thread to wait for a child process to complete then posts a message and closes
     176 *  This function should only be used for runemf2 calls that include the WAIT flag
     177 */
    176178VOID WaitChildThread(VOID * arg)
    177179{
     
    193195    if (thab) {
    194196      IncrThreadUsage();
    195       priority_bumped(); //normal();
     197      priority_normal();
    196198      ret = runemf2(WaitChild->RunFlags, WaitChild->hwndClient, pszSrcFile, __LINE__,
    197199                    WaitChild->pszDirectory, WaitChild->pszEnvironment,
    198200                    WaitChild->formatstring, WaitChild->CmdLine);
    199201      if (ret != -1) {
    200         //priority_bumped();
    201202        if (IsFile(WaitChild->filename) == 1)
    202203          PostMsg(WaitChild->hwndCnr, UM_ENTER, MPFROMP(filename), MPVOID);
Note: See TracChangeset for help on using the changeset viewer.