Changeset 3aa0522 for owl.c


Ignore:
Timestamp:
May 19, 2010, 9:58:09 PM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
7c5d060
Parents:
8278543
git-author:
David Benjamin <davidben@mit.edu> (05/14/10 19:15:32)
git-committer:
David Benjamin <davidben@mit.edu> (05/19/10 21:58:09)
Message:
Deprecate the main loop hook, use on-demand perl timer

Users without a main loop hook shouldn't need to pay 1s wakeups, and
users with one probably want more control over the timeout anyway.

Signed-off-by: David Benjamin <davidben@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r3687413 r3aa0522  
    619619  owl_global_push_context(&g, OWL_CTX_READCONFIG|OWL_CTX_RECV, NULL, "recv");
    620620
    621   /* If we ever deprecate the mainloop hook, remove this. */
    622   owl_select_add_timer(0, 1, owl_perlconfig_mainloop, NULL, NULL);
    623 
    624621  owl_select_add_pre_select_action(owl_refresh_pre_select_action, NULL, NULL);
    625622  owl_select_add_pre_select_action(owl_process_messages, NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.