Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!umd5!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: alloca... (and setjmp/longjmp coroutines) Message-ID: <11902@mimsy.UUCP> Date: 10 Jun 88 16:57:41 GMT References: <16126@brl-adm.ARPA> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 9 In article <16126@brl-adm.ARPA> ted%nmsu.csnet@relay.cs.net writes: [alloca + setjmp/longjmp for coroutines] longjmp is not suitable for coroutines because it is valid for longjmp to attempt to unwind the stack in order to find the corresponding setjmp, and it is therefore legal for longjmp to abort if it is attempting to jump the `wrong way' on the stack. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris