Hi,
I am trying to lock/unlock a memory chunk.
But after some no of iterations, it gives error MemoryMgr.c, Line:3061,
Chunk over-locked.
Can anybody tell me where I have done mistake.
I have used MemHandleLock and MemHandleUnlock in pairs only i.e first
called MemHandleLock and then
I am trying to lock/unlock a memory chunk.
But after some no of iterations, it gives error MemoryMgr.c, Line:3061,
Chunk over-locked.
Can anybody tell me where I have done mistake.
I have used MemHandleLock and MemHandleUnlock in pairs only i.e first
called MemHandleLock and then
sorry i could not understand ur reply.
u mean to say that MemHandleLock increases the count and then
MemHandleUnlock decreases the same count.
and so the net affect on this count remained zero. Is this waht u mean??
Or Lock and Unlcok increases a count by one. So I can lock-unlock that chunk
at
sorry i could not understand ur reply.
u mean to say that MemHandleLock increases the count and then
MemHandleUnlock decreases the same count.
and so the net affect on this count remained zero. Is this waht u mean??
if the lock count is greater than 16, it'll barf. end of story.
so, you
From: Saurabh Agarwal [EMAIL PROTECTED]
sorry i could not understand ur reply.
u mean to say that MemHandleLock increases the count and then
MemHandleUnlock decreases the same count.
and so the net affect on this count remained zero. Is this waht u mean??
Yes, if your code is correct. What
Aaron Ardiri [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
sorry i could not understand ur reply.
u mean to say that MemHandleLock increases the count and then
MemHandleUnlock decreases the same count.
and so the net affect on this count remained zero. Is this waht u mean??