delorie.com/djgpp/doc/libc/libc_259.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <dpmi.h> int __dpmi_serialize_on_shared_memory(unsigned long handle, int flags); |
Please refer to the DPMI Specification (see section DPMI Specification) for details on DPMI function call operation. Also see the DPMI Overview (see section DPMI Overview) for general information.
DPMI function AX = 0x0d02 (DPMI 1.0 only). Not supported by CWSDPMI and Windows.
This function serializes access to a shared memory block whose handle is given in handle. The bit-mapped variable flags defines the following bits:
An exclusive serialization blocks any serialization attempts for the same memory block from other virtual machines. A shared serialization blocks only exclusive serialization attempts from other virtual machines.
-1 on error, else zero.
ANSI/ISO C | No |
POSIX | No |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |