commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <ja...@carmanconsulting.com>
Subject Re: [vfs] SFTP Provider and Daemon Threads?
Date Tue, 10 Jun 2008 12:45:12 GMT
It's on the Session API (since 0.1.31 I believe).  There's a new
setDaemonThread() method.

On Tue, Jun 10, 2008 at 8:40 AM, Mario Ivankovits <mario@ops.co.at> wrote:
> Hi!
>> Shouldn't the SFTP provider be calling setDaemon(true) on the JSch
>> session?  I am running a simple application which just lists the
>> contents of a directory and it hangs after it's done because there's a
>> non-daemon thread running (looks like a keep-alive thread from JSch).
>>
> Is the JSch session inherited from Thread, or the flag exposed?
> If there is a possibility to set this flag from VFS we should do it.
>
> Ciao,
> Mario
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message