Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Thread, how to write own setjmp/longjmp
@ 1995-01-06 15:56 Honbo Zhou
  0 siblings, 0 replies; only message in thread
From: Honbo Zhou @ 1995-01-06 15:56 UTC (permalink / 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. 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-01-06 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-06 15:56 Thread, how to write own setjmp/longjmp Honbo Zhou

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