X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..3a60a9f5b85abb8c2cf24e1926c5c7b3f608a5e2:/bsd/netat/adsp_Timer.c diff --git a/bsd/netat/adsp_Timer.c b/bsd/netat/adsp_Timer.c index fe092e0b1..d528e7e3a 100644 --- a/bsd/netat/adsp_Timer.c +++ b/bsd/netat/adsp_Timer.c @@ -52,6 +52,8 @@ #include #include +void TimerTick(); + /* * TrashSession * @@ -175,11 +177,11 @@ send: CheckSend(sp); } -void TimerTick_funnel() +void TimerTick_funnel(void *arg) { - thread_funnel_set(network_flock, TRUE); + atalk_lock(); TimerTick(); - thread_funnel_set(network_flock, FALSE); + atalk_unlock(); } static StopTimer;