Exemple #1
0
static void *on_readable(oop_source *oop, oop_readable *ra, void *rd_void) {
  oop_read *rd= rd_void;

  assert(oop == rd->oop);
  assert(ra == rd->ra);
  return on_process(oop,rd,1);
}
Exemple #2
0
static void *on_time(oop_source *oop, struct timeval when, void *rd_void) {
  oop_read *rd= rd_void;

  assert(oop == rd->oop);
  return on_process(oop,rd,0);
}
Exemple #3
0
//! Do standard event loop
void video::main_loop()
{
    struct timezone tz; gettimeofday(&g_time, &tz);
    on_process();
}
Exemple #4
0
//! Do standard loop
void video::main_loop()
{
    on_process();
}