emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redirecting standard output


From: Eli Zaretskii
Subject: Re: Redirecting standard output
Date: Sat, 23 Apr 2011 23:10:40 +0300

> From: Lars Magne Ingebrigtsen <address@hidden>
> Date: Sat, 23 Apr 2011 20:46:36 +0200
> 
> >> Or are there gotchas when using select in Emacs?
> >
> > wait_reading_process_output already uses select, so adding another one
> > is probably not a good idea.
> 
> Would `select'-ing on two separate collections of sockets cause any
> problems? 

I don't know.  I never tried, and I don't know enough about the
implementation of `select'.  But I envision difficulties in
multiplexing between the two `select' calls, if, e.g., there's an
async subprocess running (like a speller in some text buffer) and you
invoke a program via call-process.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]