Rizin
unix-like reverse engineering framework and cli tools
main.c
Go to the documentation of this file.
1 #include <stdio.h>
2 #include <uv.h>
3 
5 
7  counter++;
8 
9  if (counter >= 10e6)
11 }
12 
13 int main() {
15 
18 
19  printf("Idling...\n");
21 
23  return 0;
24 }
static mcore_handle handle
Definition: asm_mcore.c:8
_Use_decl_annotations_ int __cdecl printf(const char *const _Format,...)
Definition: cs_driver.c:93
int main(int argc, const char **argv)
Definition: main.c:340
long int64_t
Definition: sftypes.h:32
Definition: uv.h:834
int64_t counter
Definition: main.c:4
void wait_for_a_while(uv_idle_t *handle)
Definition: main.c:6
uv_idle_t idler
Definition: main.c:7
@ UV_RUN_DEFAULT
Definition: uv.h:255
UV_EXTERN int uv_idle_stop(uv_idle_t *idle)
UV_EXTERN int uv_run(uv_loop_t *, uv_run_mode mode)
Definition: core.c:365
UV_EXTERN uv_loop_t * uv_default_loop(void)
Definition: uv-common.c:763
UV_EXTERN int uv_loop_close(uv_loop_t *loop)
Definition: uv-common.c:791
UV_EXTERN int uv_idle_start(uv_idle_t *idle, uv_idle_cb cb)
UV_EXTERN int uv_idle_init(uv_loop_t *, uv_idle_t *idle)