[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] what is texmacs constantly doing ?
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] what is texmacs constantly doing ? |
Date: |
Tue, 18 Mar 2008 09:40:11 +0100 |
User-agent: |
Mutt/1.5.9i |
On Mon, Mar 17, 2008 at 10:47:46PM +0100, slept wrote:
> Hi,
>
> I recently looked at the output of strace and I get
>
> ....
> ioctl(5, FIONREAD, [0]) = 0
> ioctl(5, FIONREAD, [0]) = 0
> gettimeofday({1205790064, 238625}, NULL) = 0
> ioctl(5, FIONREAD, [0]) = 0
> ioctl(5, FIONREAD, [0]) = 0
> ioctl(5, FIONREAD, [0]) = 0
> select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
> ioctl(5, FIONREAD, [0]) = 0
> ioctl(5, FIONREAD, [0]) = 0
> gettimeofday({1205790064, 250624}, NULL) = 0
> ....
>
> I get at least 100 lines a minute. Can someone explain me what that is
> and if it is supposed to be that way ?
TeXmacs uses a loop to listen to extern events.
When you don't use TeXmacs for a while,
the frequence is dropped down a little bit.
Best wishes, Joris