[jcifs] threading

Dan Dumont dan at canofsleep.com
Thu Feb 20 04:11:18 EST 2003


Well I have a working threading program.  When I tell the threads to do
something obnoxious like count to 4 billion, they exit like normal. Bur
when I tell them each to open a SmbFile and list contents, they block
until the scanning is complete or there is a connection time out.  Then
the next thread tries.


-----Original Message-----
From: Michael B. Allen [mailto:miallen at eskimo.com] 
Sent: Wednesday, February 19, 2003 4:54 AM
To: Dan Dumont
Cc: jcifs at lists.samba.org
Subject: Re: [jcifs] threading

On Wed, 19 Feb 2003 03:07:46 -0500
Dan Dumont <dan at canofsleep.com> wrote:

> I cant seem to have multiple threads each one accessing a different
> computer's smb share work in parallel.
>  
> Am I missing something?

I think so. That's what jCIFS does best.

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