[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multi-Threaded C++ program in wich two calls to malloc, return the same
From: |
Jose Luis F. Feiteirinha |
Subject: |
Multi-Threaded C++ program in wich two calls to malloc, return the same pointer. |
Date: |
Wed, 20 Jun 2001 00:51:37 +0100 (WEST) |
Greetings glibc maintainers.
I have a multi-thread program in C++ and in two difrent threads i
call malloc(not silmoultanios) the problem is that they return a pointer
the the same place.
Is it possible that i'm making some kind of stupid bad coding,
that generate that problem?
I have been deleting useless parts of the code(in a backup) trying
to simplify to the max the possible bug, i now have 700 lines splited by
5 files. So if you want, i can send it to you.
I've tested the code in several PCs allways in linux, and it
allways had the same result.
Thanks for your attention.
- Multi-Threaded C++ program in wich two calls to malloc, return the same pointer.,
Jose Luis F. Feiteirinha <=