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:50:19 GMT
I've created:

https://issues.apache.org/jira/browse/VFS-211

and assigned it to myself.  If you don't mind, I'll add in this
feature and commit it (assuming it doesn't break anything of course).
:)


On Tue, Jun 10, 2008 at 8:45 AM, James Carman
<james@carmanconsulting.com> wrote:
> 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