Re: CVS domivogt: * New command Schedule that executes commands delayed. May be used to

2002-01-30 Thread Dominik Vogt
On Wed, Jan 30, 2002 at 01:03:11PM +, Tim Phipps wrote:
 fvwm-workers@fvwm.org wrote:
 
  Log message:
  * New command Schedule that executes commands delayed.  May be used to
  implement FvwmAuto in fvwm itself.
 
 
 Is it possible to have a function self destruct with this? e.g.
 
 AddToFunc once_only
 + I FvwmBanner
 + I Schedule 0 DestroyFunc once_only
 + I Schedule 0 AddToFunc once_only I NOP

Yes.  At the moment, there are no guarantees when the scheduled
code is executed though.  The schedule table is processed only when
no X events or module input is coming in.  In theory it could take
hours before the code is actually executed.

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: CVS domivogt: * New command Schedule that executes commands delayed. May be used to

2002-01-30 Thread Cameron Simpson
On 15:57 30 Jan 2002, Dominik Vogt fvwm-workers@fvwm.org wrote:
| Yes.  At the moment, there are no guarantees when the scheduled
| code is executed though.  The schedule table is processed only when
| no X events or module input is coming in.  In theory it could take
| hours before the code is actually executed.

Wouldn't it be work at least polling it every 100 or 1000 input events
when busy?
-- 
Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/

Politics - From the Greek Poly, meaning many, and the English Tics, meaning
little blood sucking insects.
- copyright 1991, Joshua J. Fielek, DoD#385, [EMAIL PROTECTED]
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: CVS domivogt: * New command Schedule that executes commands delayed. May be used to

2002-01-30 Thread Cameron Simpson
On 12:10 31 Jan 2002, Cameron Simpson [EMAIL PROTECTED] wrote:
| On 15:57 30 Jan 2002, Dominik Vogt fvwm-workers@fvwm.org wrote:
| | Yes.  At the moment, there are no guarantees when the scheduled
| | code is executed though.  The schedule table is processed only when
| | no X events or module input is coming in.  In theory it could take
| | hours before the code is actually executed.
| 
| Wouldn't it be work at least polling it every 100 or 1000 input events
 -- worth
| when busy?

Whoops.
-- 
Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/

The way to control people's thoughts is not to lock them out of information,
but feed them a steady diet of dross.   - Clifford Stoll
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]