[lkml]   [2000]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: portable way for issuing a far jmp?
On Sat, Aug 19, 2000 at 03:27:33PM +0200, Daniel Phillips wrote:
> But this obviously isn't C. While it would be wonderful to be able to
> goto <functionname> - it would give you a great way to implement state
> machines for example - you would have to modify the compiler frontend
> and the result would emphatically not be standard. Portable, as long as
> you port your hacked compiler too, but not standard. Sigh.

not ANSI C :-) plan9 C added the `becomes' keyword which behaves
like return except that it doesn't construct a new stack frame.
their rationale was that the programmer can tell when this is possible
(and necessary) much more easily than the compiler can.

however, they seem to have dropped it from release 3 as i can't find it
in the reference pages.

Revolutions do not require corporate support.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:37    [W:0.095 / U:3.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site