зеркало из https://github.com/mozilla/gecko-dev.git
Added comment to clarify an implementation issue (what conditions did nsITimer callback functions expect).
This commit is contained in:
Родитель
09a5166987
Коммит
853b1c1c14
|
@ -24,6 +24,11 @@
|
|||
class nsITimer;
|
||||
class nsITimerCallback;
|
||||
|
||||
// Implementations of nsITimer should be written such that there are no limitations
|
||||
// on what can be called by the TimerCallbackFunc. On platforms like the Macintosh this
|
||||
// means that callback functions must be called from the main event loop NOT from
|
||||
// an interrupt.
|
||||
|
||||
/// Signature of timer callback function
|
||||
typedef void
|
||||
(*nsTimerCallbackFunc) (nsITimer *aTimer, void *aClosure);
|
||||
|
|
Загрузка…
Ссылка в новой задаче