Home > Archive > Unix Programming > September 2005 > In case of a pointer points to freed location
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
In case of a pointer points to freed location
|
|
| Thone M 2005-09-25, 6:59 pm |
| I have several threads in my program may point to the same shared memory.
Is there anyway to check the existance of the data they are pointing, i.e.,
if one of the pointer may frees the allocated memory without other knowing.
| |
| Måns Rullgård 2005-09-25, 6:59 pm |
| thone@Tramp.eng.sun.com (Thone M) writes:
> I have several threads in my program may point to the same shared memory.
> Is there anyway to check the existance of the data they are pointing, i.e.,
> if one of the pointer may frees the allocated memory without other knowing.
If you need such functionality your design is broken.
--
Måns Rullgård
mru@inprovide.com
|
|
|
|
|