[jcifs] threading
Michael B. Allen
miallen at eskimo.com
Sun Feb 23 18:53:07 EST 2003
On Sat, 22 Feb 2003 23:21:22 -0600
"Christopher R. Hertel" <crh at ubiqx.mn.org> wrote:
> So the thread is calling a blocking syscall, and thus blocking all other
> threads as well... Is that correct?
No. That should not happen with native threads. If threads are
handled entirely in userspace it will but not with native kernelspace
threads. Actually there are different thread models that might utilize
a mixture of userspace and kernelspace threads so in theory a blocking
syscall like a read could block other threads but I've never actually
seen this happen.
Mike
--
A program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the potential for it to be applied to tasks that are
conceptually similar and, more important, to tasks that have not
yet been conceived.
More information about the jcifs
mailing list