Changeset c6adf17 for aim.c


Ignore:
Timestamp:
Oct 1, 2010, 9:22:20 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:
afaef6e
Parents:
385cce2
git-author:
David Benjamin <davidben@mit.edu> (09/25/10 02:02:45)
git-committer:
David Benjamin <davidben@mit.edu> (10/01/10 21:22:20)
Message:
Track names along with timers, add :show timers

This will help people with BarnOwls eating CPU to diagnose timer leaks.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aim.c

    rc5873be rc6adf17  
    184184  owl_function_debugmsg("owl_aim_login: connecting");
    185185
    186   g.aim_nop_timer = owl_select_add_timer(30, 30, owl_aim_send_nop, NULL, NULL);
     186  g.aim_nop_timer = owl_select_add_timer("owl_aim_send_nop", 30, 30, owl_aim_send_nop, NULL, NULL);
    187187
    188188  return(0);
     
    210210  /* start the ingorelogin timer */
    211211  owl_global_set_ignore_aimlogin(&g);
    212   owl_select_add_timer(owl_global_get_aim_ignorelogin_timer(&g),
     212  owl_select_add_timer("owl_aim_unset_ignorelogin",
     213                       owl_global_get_aim_ignorelogin_timer(&g),
    213214                       0, owl_aim_unset_ignorelogin, NULL, NULL);
    214215
Note: See TracChangeset for help on using the changeset viewer.