Main Page   File List  

setjmp.h File Reference

Inter-thread setjmp/longjmp. More...

Go to the source code of this file.

Data Structures

struct  l4_thread_jmp_buf_s
union  l4_thread_jmp_buf_u

Typedefs

typedef int l4_thread_jmp_buf [sizeof(l4_thread_jmp_buf_s)/sizeof(l4_umword_t)]

Functions

int l4_thread_setjmp (l4_thread_jmp_buf env)
void l4_thread_longjmp (l4_threadid_t thread, l4_thread_jmp_buf env, int val)
 inter-thread longjmp


Detailed Description

Inter-thread setjmp/longjmp.

Date:
11/26/2004
Author:
Jork Loeser <jork.loeser@inf.tu-dresden.de>

Definition in file ARCH-x86/L4API-l4v2/setjmp.h.


Function Documentation

void l4_thread_longjmp ( l4_threadid_t  thread,
l4_thread_jmp_buf  env,
int  val 
)

inter-thread longjmp

Parameters:
thread thread to apply the longjmp to
env jump buffer
val 0: setjmp returns with 1
val !0: return value of setjmp
This function sets thread to the location obtained by its former l4_thread_setjump on env.

See also:
longjmp(3)
Note:
In contrast to longjmp(3), this function returns.


L4 Utilities, part of DROPS  © 2000-2003