void customer_non_precise_timer_example_proc(VM_TIMER_ID_NON_PRECISE tid, void* user_data) { static VMINT s_restore_num = 0; s_restore_num++; if(s_restore_num > 10) { vm_timer_delete_non_precise(tid); } } void customer_run_non_precise_timer(void) { VM_TIMER_ID_NON_PRECISE timer_id = 0; timer_id = vm_timer_create_non_precise(1000, (vm_timer_non_precise_callback)customer_non_precise_timer_example_proc, NULL); if(timer_id < 0) { vm_log_debug("customer_run_time create non-precise timer fail!"); } }
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.