Thanks, does it mean any syscall will hold a funnel when it enter kernel? If no thread_funnel_switch inside, a syscall cannot be called by two or more threads running on differenct processors at same time, is it right? --- Quinn <eskimo1@apple.com> wrote:
At 2:04 -0800 12/3/04, Ramble Leon wrote:
Hi, I'm confused by funnel in darwin, I was
reading
some source code of nfs, there is no
thread_funnel_set
can be found in some vfs syscall, but there are
many
thread_funnel_switch inside nfs implement, when did
the system call get the kernel_funnel?
Funnels are acquired as part of system call entry.
Check out the
sy_funnel field of the sysent structure.
S+E
--
Quinn "The Eskimo!"
Apple Developer Technical Support * Networking,
Communications, Hardware
_______________________________________________
darwin-kernel mailing list |
darwin-kernel@lists.apple.com
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be
ignored.
__________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.