Displaying 2 results from an estimated 2 matches for "ignore_stdin".
2006 Apr 01
1
Sys.sleep() burns up CPU on Solaris 8
...2 11:39:55 2006
+++ src/unix/sys-std.c Fri Mar 31 23:12:16 2006
@@ -294,13 +294,13 @@
else onintr();
}
- tv.tv_sec = 0;
- tv.tv_usec = usec;
+ tv.tv_sec = usec/1000000;
+ tv.tv_usec = usec % 1000000;
maxfd = setSelectMask(R_InputHandlers, &readMask);
if (ignore_stdin)
FD_CLR(fileno(stdin), &readMask);
if (R_SelectEx(maxfd+1, &readMask, NULL, NULL,
- (usec >= 0) ? &tv : NULL, intr))
+ (usec >= 0) ? &tv : NULL, intr) > 0)
return(&readMask);
else
return(NULL);
2005 Apr 26
10
Ctrl-c crashes R when run as sudo (PR#7819)
I tried to submit this in R, but not sure if it worked.
When running R as sudo, using ctrl-c dumps me to the command line.
Hitting exit to exit the terminal window results in R taking 100% of
resources.
I am using R-2.1.0 on Fedora Core 3.
Thanks.
Manuel