Locations

      pmsemaphores locates the table of PM/GRE semaphores.
    VM Owner
      PMMERGE.DLL hmte

    Format

    GRESEM PM/GRE Semaphore

    ┌──────────────────┬────┬────────┬────┬────────────────────────────────────────┐│Field Name        │Off │Length  │Type│Description                             │
    ├──────────────────┼────┼────────┼────┼────────────────────────────────────────┤
    │acIdent           │+0  │7       │A   │GRESEM or PMSEM                         │
    ├──────────────────┼────┼────────┼────┼────────────────────────────────────────┤
    │fcSet             │+7  │1       │B   │386 Actual Semaphore                    │
    ├──────────────────┼────┼────────┼────┼────────────────────────────────────────┤
    │ulProcessThread   │+8  │4       │D   │owner process and thread id (PTid)      │
    ├──────────────────┼────┼────────┼────┼────────────────────────────────────────┤
    │ulNestedUseCount  │+c  │4       │D   │# of times same PTid has accessed sem   │
    ├──────────────────┼────┼────────┼────┼────────────────────────────────────────┤
    │ulWaitingCount    │+10 │4       │D   │# of PTids waiting on semaphore         │
    ├──────────────────┼────┼────────┼────┼────────────────────────────────────────┤
    │ulUseCount        │+14 │4       │D   │# of times semaphore has been used      │
    ├──────────────────┼────┼────────┼────┼────────────────────────────────────────┤
    │ulEventHandle     │+18 │4       │D   │Event Handle Semaphore                  │
    ├──────────────────┼────┼────────┼────┼────────────────────────────────────────┤
    │ulCallerAddr      │+1c │4       │D   │Semaphore Caller                        │
    └──────────────────┴────┴────────┴────┴────────────────────────────────────────┘
    


    [Back] [Next]