Tango and setjmp.

Daniel Keep daniel.keep+lists at gmail.com
Thu Jan 18 22:37:30 PST 2007


zz wrote:
> Will tango also implement setjmp for D.
> 
> Very many lib's in C out there (including ours use TRY CATCH macros with 
> setjmp and longjmp for exception handling in C.
> 
> And does anyone know of a simple way to wrap up such libraries so that 
> D's exception could be used instead?
> 
> Zz

You might want to take a look at StackThreads. 
(http://assertfalse.com/projects.shtml).  I'm not sure if it uses setjmp 
and longjump, but I know *something*'s going on in there.

As for Tango: no idea :)

	-- Daniel



More information about the Digitalmars-d mailing list