Go to the first, previous, next, last section, table of contents.


__dpmi_free_serialization_on_shared_memory

Syntax

#include <dpmi.h>

int __dpmi_free_serialization_on_shared_memory(unsigned long handle, 
                                               int flags);

Description

Please refer to section DPMI Specification for details on DPMI function call operation. Also see section DPMI Overview for general information.

DPMI function AX = 0x0d03 (DPMI 1.0 only). Not supported by CWSDPMI and Windows.

This function frees the serialization on shared memory block specified by its handle handle. The bit-mapped variable flags defines the following bits:

bit 0
If set, release shared serialization (as opposed to exclusive serialization).
bit 1
If set, free pending serialization.
bits 2-15
Reserved (should be zero).

Return Value

-1 on error, else zero.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.