1 #define SUBSYSTEM APPLICATION_EXEC "_worker_roller: " 2 3 #define ROLLER_UPDATE_RPS 10 /* Roller update rate in rolls per second */ 4 5 struct t_str { 6 int unused; 7 }; 8 9 static void worker_roller_cancel(void *); 10 static void worker_roller_cancel_local(struct t_ctx *, struct t_str *); 11 static void worker_roller_finalize(struct t_ctx *); 12 static int worker_roller_init(struct t_ctx *); 13 static int worker_roller_init_local(struct t_ctx *, struct t_str *); 14 15 static void roller_loop_begin(struct t_str *, struct timeval *); 16 static void roller_loop_end(struct timeval *); 17