search for: displayopen

Displaying 2 results from an estimated 2 matches for "displayopen".

2017 Jan 25
2
parallel::mc*: Is it possible for a child process to know it is a fork?
When using multicore-forking of the parallel package, is it possible for a child process to know that it is a fork? Something like: parallel::mclapply(1:10, FUN = function(i) { test_if_running_in_a_fork() }) I'm looking into ways to protect against further parallel processes (including threads), which not necessarily are created via the parallel:mc* API, are being spawned off recursively.
2001 Feb 13
1
X11 device doesn't handle destroy events correcly (PR#848)
...116,122 ---- FILE *fp; /* file for a bitmap device */ int quality; /* JPEG quality */ + Rboolean inclose; /* TRUE if window is being closed */ } x11Desc; *************** *** 145,151 **** static Atom _XA_WM_PROTOCOLS, protocol; static Rboolean displayOpen = FALSE; - static Rboolean inclose = FALSE; static int numX11Devices = 0; /********************************************************/ --- 146,151 ---- *************** *** 619,632 **** xd->windowHeight = event.xconfigure.height; xd->resize = 1; } else if ((event.type =...