On 10 Apr 2013 at 13:48, Holger Joukl wrote: > > If you don't have C++11 in your C++, Boost provides an okay partial > > implementation of C++11 exception support. > > I'll look into this. This would then mean instrumenting some object with a > place > to store the caught exception to re-raise upon reentry from C to C++. > I take it this would then do much the same as my approach sketched above > but > "safer and sounder".
There is always the trick of keeping a hash table keyed on thread id and call function depth. In fact it could even be made lock free and wait free with Boost v1.53's new lock and wait free queue implementations. Niall -- Any opinions or advice expressed here do NOT reflect those of my employer BlackBerry Inc. Work Portfolio: http://careers.stackoverflow.com/nialldouglas/
SMime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig