次の方法で共有


CERW_TYPE (Compact 2013)

3/28/2014

This enumeration defines the types of access that can be granted to a reader/writer lock.

Syntax

typedef enum 
tagCERW_TYPE
    {
    CERW_TYPE_SHARED,
    CERW_TYPE_EXCLUSIVE
        
    } CERW_TYPE;

Elements

  • CERW_TYPE_SHARED
    Represents shared, or read-only, access to all the resources covered by a reader/writer lock in addition to those covered by the lock's descendant locks.
  • CERW_TYPE_EXCLUSIVE
    Represents exclusive, or read/write, access to all the resources covered by the lock, in addition to those covered by the lock's descendant locks.

Requirements

Header

Cerwlock.h

Library

coredll.lib

See Also

Reference

Synchronization Enumerations