search for: r_interrupts_suspended

Displaying 6 results from an estimated 6 matches for "r_interrupts_suspended".

2019 May 19
4
most robust way to call R API functions from a secondary thread
...ensure, e.g. by using mutexes, that no two threads use the R API simultaneously 2) R uses longjmps on error and interrupts as well as for condition handling and it is undefined behaviour to do a longjmp from one thread to another; interrupts can be suspended before creating the threads by setting R_interrupts_suspended = TRUE; by wrapping the calls to functions from the R API with R_ToplevelExec(), longjmps across thread boundaries can be avoided; the only reason for R_ToplevelExec() itself to fail with an R-style error (longjmp) is a pointer protection stack overflow 3) R_CheckStack() might be executed (indirec...
2019 May 20
1
most robust way to call R API functions from a secondary thread
...e.g. by using mutexes, that no two threads use the R API simultaneously >> 2) R uses longjmps on error and interrupts as well as for condition handling and it is undefined behaviour to do a longjmp from one thread to another; interrupts can be suspended before creating the threads by setting R_interrupts_suspended = TRUE; by wrapping the calls to functions from the R API with R_ToplevelExec(), longjmps across thread boundaries can be avoided; the only reason for R_ToplevelExec() itself to fail with an R-style error (longjmp) is a pointer protection stack overflow >> 3) R_CheckStack() might be executed...
2019 May 20
0
[External] most robust way to call R API functions from a secondary thread
...e.g. by using mutexes, that no two threads use the R API simultaneously > > 2) R uses longjmps on error and interrupts as well as for condition handling and it is undefined behaviour to do a longjmp from one thread to another; interrupts can be suspended before creating the threads by setting R_interrupts_suspended = TRUE; by wrapping the calls to functions from the R API with R_ToplevelExec(), longjmps across thread boundaries can be avoided; the only reason for R_ToplevelExec() itself to fail with an R-style error (longjmp) is a pointer protection stack overflow > > 3) R_CheckStack() might be executed...
2019 May 20
0
most robust way to call R API functions from a secondary thread
....g. by using mutexes, that no two threads use the R API simultaneously > > 2) R uses longjmps on error and interrupts as well as for condition handling and it is undefined behaviour to do a longjmp from one thread to another; interrupts can be suspended before creating the threads by setting R_interrupts_suspended = TRUE; by wrapping the calls to functions from the R API with R_ToplevelExec(), longjmps across thread boundaries can be avoided; the only reason for R_ToplevelExec() itself to fail with an R-style error (longjmp) is a pointer protection stack overflow > > 3) R_CheckStack() might be execute...
2009 Mar 03
1
profiler and loops
...EvalDepth; cptr->callflag = flags; cptr->call = syscall; cptr->cloenv = env; cptr->sysparent = sysp; cptr->conexit = R_NilValue; cptr->cend = NULL; cptr->promargs = promargs; cptr->callfun = callfun; cptr->vmax = vmaxget(); cptr->intsusp = R_interrupts_suspended; cptr->handlerstack = R_HandlerStack; cptr->restartstack = R_RestartStack; cptr->prstack = R_PendingPromises; #ifdef BYTECODE cptr->nodestack = R_BCNodeStackTop; # ifdef BC_INT_STACK cptr->intstack = R_BCIntStackTop; # endif #endif R_GlobalContext = cptr; } So it...
2004 Mar 13
0
64bit build on IBM
...er ld: 0711-317 ERROR: Undefined symbol: .Rf_isLogical ld: 0711-317 ERROR: Undefined symbol: .Rf_isReal ld: 0711-317 ERROR: Undefined symbol: .Rf_RGBpar ld: 0711-317 ERROR: Undefined symbol: .vmaxset ld: 0711-317 ERROR: Undefined symbol: .R_CheckDeviceAvailable ld: 0711-317 ERROR: Undefined symbol: R_interrupts_suspended ld: 0711-317 ERROR: Undefined symbol: .Rf_mkString ld: 0711-317 ERROR: Undefined symbol: .Rf_gsetVar ld: 0711-317 ERROR: Undefined symbol: .GEcreateDevDesc ld: 0711-317 ERROR: Undefined symbol: .Rf_addDevice ld: 0711-317 ERROR: Undefined symbol: .GEinitDisplayList ld: 0711-317 ERROR: Undefined symb...