[comp.lang.c++] Porting NIH Process class to VAX/VMS

ben@ahs.UUCP (Benjamin Chen) (08/29/90)

 I have problem when I port NIH v3.0 process class to VAX/VMS system:

 Do I need to rewrite the setjmp/longjmp functions? In the NIH release
 note, it memtioned "On VAX, the setjmp/longjmp do not work by saving/restoring all the volatile registers." I don't quite understand why. Because I have successfully running the exception test program, but fail to run the stackproc or heapproc test program. ( I have my own alloca assembly code and I know the  setjmp buffer layout) The longjmp() always complaints something wrong when I run the stackproc/heapproc. Can anybody help me on this problem and give me more   information to port the NIH Process cla


ss.

Thanks in advance.

					e-mail: uunet!ahs!dtung