exception handling and threads
jeroen dobbelaere xe44 7682
dobbelaj@access.bel.alcatel.be
Fri Jan 30 07:52:00 GMT 1998
Hello,
Is the exception handling in egcs (1.01) thread-safe ?
Lets suppose following situation :
class Error {};
void f()
{
throw Error();
}
and lets suppos two threads calling f.
in time :
thread 1 thread 2
call f
throw
call f
throw
...
catch
catch
-> will this work, or will the throwing of the second exception
clobber the first ?
Greetings,
-- _______
Jeroen Dobbelaere A L\C A T/E L ALCATEL TELECOM
Software Design Engineer \ / Access Systems Division (XE40)
Tel:(32 3)240.76.82 Hi-Speed\ /Solutions F. Wellesplein 1
Fax: (32 3)240.98.66 V B-2018 Antwerp (Belgium)
More information about the Gcc-bugs
mailing list