Ignore:
Timestamp:
Jul 24, 2002, 11:49:43 PM (23 years ago)
Author:
umoeller
Message:

Mutex modifications.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/cctl_checkcnr.c

    r184 r191  
    365365    PFNWP               pfnwpOrig = 0;
    366366
    367     if (WinRequestMutexSem(G_hmtxCnrOwnersList, 5000) == NO_ERROR)
     367    if (!DosRequestMutexSem(G_hmtxCnrOwnersList, 5000))
    368368    {
    369369        PLISTNODE   pNode = lstQueryFirstNode(G_pllCnrOwners);
     
    555555
    556556            case WM_DESTROY:
    557                 if (WinRequestMutexSem(G_hmtxCnrOwnersList, 5000) == NO_ERROR)
     557                if (!DosRequestMutexSem(G_hmtxCnrOwnersList, 5000))
    558558                {
    559559                    if (WinIsWindow(pcbco->habCnr,
     
    599599    PFNWP               pfnwpOrig = 0;
    600600
    601     if (WinRequestMutexSem(G_hmtxCnrOwnersList, 5000) == NO_ERROR)
     601    if (!DosRequestMutexSem(G_hmtxCnrOwnersList, 5000))
    602602    {
    603603        PLISTNODE   pNode = lstQueryFirstNode(G_pllCnrOwners);
     
    844844                if (pcbco = ctlSubclassCheckboxContainer(hwndCnr))
    845845                {
    846                     if (WinRequestMutexSem(G_hmtxCnrOwnersList, 5000) == NO_ERROR)
     846                    if (!DosRequestMutexSem(G_hmtxCnrOwnersList, 5000))
    847847                    {
    848848                        lstAppendItem(G_pllCnrOwners, pcbco);
Note: See TracChangeset for help on using the changeset viewer.