Ignore:
Timestamp:
Jul 7, 2001, 8:49:13 PM (24 years ago)
Author:
achimha
Message:

concurrency fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wsock32/asyncapi.cpp

    r6204 r6205  
    1 /* $Id: asyncapi.cpp,v 1.13 2001-07-07 17:56:41 achimha Exp $ */
     1/* $Id: asyncapi.cpp,v 1.14 2001-07-07 18:49:13 achimha Exp $ */
    22
    33/*
     
    749749        // TODO is this correct? API says they're cleared
    750750        pThreadInfo->u.asyncselect.lEventsPending = 0;
    751    }
    752    asyncThreadMutex.leave();
    753    if (!pThreadInfo)
    754    {
     751   } else
     752   {
     753      asyncThreadMutex.leave();
    755754      dprintf(("no async registration for socket %x", s));
    756755      // TODO: correct behavior?
     
    766765   }
    767766
     767   asyncThreadMutex.leave();
     768
    768769   WSASetLastError(NO_ERROR);
    769770   return NO_ERROR;
Note: See TracChangeset for help on using the changeset viewer.