While looking at the code in dbg_main(), I saw that pike uses longjmps. I suspect the use for this is the exception handling stuff. Am I on the right track?
More or less. {set,long}jmp(3C) are used to implement catch/throw.
Can someone elaborate a bit on the usage as to where it is used in pike and how things are supposed to interact..?
What's to say? Look in pike_error.h for details.
/ Henrik Grubbström (Lysator)
Previous text:
2004-10-15 14:11: Subject: longjmps in pike
While looking at the code in dbg_main(), I saw that pike uses longjmps. I suspect the use for this is the exception handling stuff. Am I on the right track?
Can someone elaborate a bit on the usage as to where it is used in pike and how things are supposed to interact..?
/ Marcus Agehall (PacketFront)