소스 검색

async: updated to the name of functions for timers instead of macros

Daniel-Constantin Mierla 8 년 전
부모
커밋
60269ead49
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      modules/async/async_mod.c

+ 2 - 2
modules/async/async_mod.c

@@ -106,7 +106,7 @@ static int mod_init(void)
 		return -1;
 	}
 
-	register_dummy_timers(async_workers);
+	register_basic_timers(async_workers);
 
 	return 0;
 }
@@ -125,7 +125,7 @@ static int child_init(int rank)
 		return 0;
 
 	for(i=0; i<async_workers; i++) {
-		if(fork_dummy_timer(PROC_TIMER, "ASYNC MOD TIMER", 1 /*socks flag*/,
+		if(fork_basic_timer(PROC_TIMER, "ASYNC MOD TIMER", 1 /*socks flag*/,
 				async_timer_exec, NULL, 1 /*sec*/)<0) {
 			LM_ERR("failed to register timer routine as process (%d)\n", i);
 			return -1; /* error */