sample_run
ret = sample_run(interval, NULL, NULL);
int sample_run(int interval, void (*post_cb)(void *), void *ctx);