I shall maintain an HW/SW configuration running Linux 2.2.14 / glibc 2.1.2 / LinuxThread 0.8
I have a C++ application compiled using gcc 2.95.2 which has several thread that may throw exception. I experience weird and not 100% repeatable mis-behaviour of the application which is hogging all CPU-time. (some threads are SCHED_RR) Which leads me to the question: Was the C++ Exception Handling thread-safe in gcc 2.95.2. I wonder because gcc-2.95.2/gcc/except.c tells:
The mechanism in C++ for handling data associated with the exception is clearly not thread-safe. For a thread-based environment, another mechanism must be used (possibly using a per-thread allocation mechanism if the size of the area that needs to be allocated isn't known at compile time.)
Whereas gcc-4.1.1/gcc/except.c does not. I know there are MANY gcc release between those two but I would be glad if any GCC historian may tell me what was the first C++ EH thread-safe version of gcc? -- Erk