Hello, Current.

  It was explained to me, that all three GEOM threads (up, down and
ctl) could not execute code, which should sleep. It looks sound for
up and down, but not for ctl, but it is so now.

  So, I have question: what should I do if I need to perofrm ONE
action, which could block for some time (for example, open file or
create ALQ)?

 I could create thread for this. But it looks strange and too heavy: create 
thread
to call one function once.

 Maybe, kernel has some API to postpone such task to one,
always-running idle thread?

-- 
// Black Lion AKA Lev Serebryakov <l...@freebsd.org>

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to