On Nov 1, 2006, at 12:31 AM, Phil Oleson wrote:
  /* Setup the initial game_iteration pass */
  gettimeofday(&tvt, (struct timezone *) 0);
  timeradd(&tvt, &sleep_tv, &tvt);

  evtimer_set(&tev, iteration, &tev);
  evtimer_add(&tev, &tvt);

libevent takes relative times; you're passing in absolute. I have no idea why this worked for you with versions prior to 1.2.

Cheers,
Scott

--
Scott Lamb <http://www.slamb.org/>
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to