[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: timers and match-data
From: |
Richard Stallman |
Subject: |
Re: timers and match-data |
Date: |
Tue, 31 May 2005 13:47:03 -0400 |
To avoid such problems, either:
1. Every function that waits for input or otherwise allows for timers
to run should save and restore the match data.
2. We should make timers automatically save and restore match data.
3. Any individual timer function that potentially could alter the
match data should save and restore the match data.
Which one?
Currently, #3 is the way it is supposed to work.
However, converting to #2 might be an improvement.
It would be cleaner, but it might be less efficient;
surely most timer functions are rather small and don't
alter the match data.