Kernel timers infrastructure

"Marc Lörner" loerner at gmx.de
Mon Sep 12 10:15:23 UTC 2011


Hello,
what about changing order of callout_reset and uprintf?
And your timeout isn't 1minute, it's one second!

Regards,
Marc

>I already did that to ensure timer_event_handler would be called correctly.
>
>The result follows:
>
>freebsd# kldload ./timer.ko 
>timer_event_handler() with MOD_LOAD
>
>freebsd# kldunload ./timer.ko 
>timer_event_handler() with MOD_UNLOAD
>
>and I maintained the module load for about 1 minute so the timer printing >"Hello, World!" should have been run.
>
>Filippo
>
>On 12/set/2011, at 11:24, Adrian Chadd wrote:
>
>> How about adding some printfs() to the functions to ensure they're being called?
>> 
>> Adrian
>
>_______________________________________________
>freebsd-hackers at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


More information about the freebsd-hackers mailing list