The R Project SVN R

Rev

Rev 26627 | Rev 30596 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26627 Rev 27170
Line 291... Line 291...
291
{
291
{
292
    int maxfd;
292
    int maxfd;
293
    struct timeval tv;
293
    struct timeval tv;
294
    static fd_set readMask;
294
    static fd_set readMask;
295
 
295
 
-
 
296
    if (R_interrupts_pending) {
-
 
297
	if (intr != NULL) intr();
-
 
298
	else onintr();
-
 
299
    }
296
 
300
 
297
    tv.tv_sec = 0;
301
    tv.tv_sec = 0;
298
    tv.tv_usec = usec;
302
    tv.tv_usec = usec;
299
    maxfd = setSelectMask(R_InputHandlers, &readMask);
303
    maxfd = setSelectMask(R_InputHandlers, &readMask);
300
    if (ignore_stdin)
304
    if (ignore_stdin)