Article View: comp.os.os2.programmer
Article #3718Problems with DosSubFreeMem function call
From: Paul Bininda
Date: Thu, 28 Jan 1993 13:58
Date: Thu, 28 Jan 1993 13:58
33 lines
1595 bytes
1595 bytes
A call to DosSubFreeMem sometimes results in error #312: "Overlap of
specified block with a block of allocated memory"
Program description:
Process 1: Process 2:
. .
. .
Loop: Loop:
{ {
DosSubAllocMem (...); DosReadQueue (...);
DosWriteQueue (...); DosSubFreeMem (...);
} }
. .
. .
Address and length of the allocated memory are taken from the result
of DosReadQueue. Memory allocation and writing and reading of the
queue are executed correctly. The error that happens with
DosSubFreeMem is only caused during high call frequency.
Has anyone encountered similar problems and/or knows a solution?
Any help would be greatly appreciated.
Please reply via email, since I am not a regular reader of this news
group.
--
----- Paul Bininda
----- bip@sekas.de
Technical Details
Message-ID:
<BIP.93Jan28145839@SPARC.sekas.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!ira.uka.de!Germany.EU.net!sekas.de!sparc!bipShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!ira.uka.de!Germany.EU.net!sekas.de!sparc!bip From: bip@sekas.de (Paul Bininda) Newsgroups: comp.os.os2.programmer Subject: Problems with DosSubFreeMem function call Message-ID: <BIP.93Jan28145839@SPARC.sekas.de> Date: 28 Jan 93 13:58:39 GMT Sender: bip@sekas.de Organization: SEKAS, Munich, Germany Lines: 34 Nntp-Posting-Host: sparc