Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: hzhou@cs.utk.edu (Honbo Zhou)
Subject: Thread, how to write own setjmp/longjmp
Date: 6 Jan 1995 10:56:51 -0500	[thread overview]
Message-ID: <3ejp83INN1ui@duncan.cs.utk.edu> (raw)

I am porting a thread package to DEC ALPHA Workstation in which 
I need to write my own setjmp/longjmp to save the thread context.
The original setjmp/longjmp is not good for this purpose since
it involves some safety checks.

Could anybody out there tell me the approach to start?

BTW, the stack pointer on other machines normally is stored in
jmp_buf[0] to jmp_buf[3], but in the system I use (OSF1 1.2 10 alpha),
it is stored in jmp_buf[35]. What's the deal here?

Thanks a lot. 


                 reply	other threads:[~1995-01-06 15:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox