Changeset 840e9b5 for owl.h


Ignore:
Timestamp:
Aug 7, 2013, 7:53:31 PM (11 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
94eb15b
Parents:
db798a2
git-author:
Jason Gross <jgross@mit.edu> (07/21/11 18:17:41)
git-committer:
Jason Gross <jgross@mit.edu> (08/07/13 19:53:31)
Message:
Added a hook for wakeup/user input.

I wanted to add a hook that got called on all user-input, but any
non-trivial use of that hook incurred too much overhead (about 7 ms per
paragraph for entry into perl, and another 100 ms or so per paragraph
for execution of the hook; tests run on pasting lorem ipusm, on
linerva).

This hook is called at most once a second (approximately).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    r6249a88f r840e9b5  
    571571  time_t starttime;
    572572  time_t lastinputtime;
     573  time_t last_wakeup_time;
    573574  char *startupargs;
    574575  int nextmsgid;
Note: See TracChangeset for help on using the changeset viewer.