mirror of
http://galexander.org/git/simplesshd.git
synced 2025-01-03 19:50:55 +00:00
waiter thread is done
This commit is contained in:
parent
6d872af030
commit
f3f53709c6
12
NOTES
12
NOTES
@ -77,18 +77,6 @@ XXX - service for start (startForeground, fork) and stop (kill, stopService)
|
||||
XXX - logging facility instead of stdout/stderr
|
||||
XXX - disable utmp/wtmp
|
||||
|
||||
final int shellPid = pids[0];
|
||||
Runnable exitWatcher = new Runnable() {
|
||||
public void run() {
|
||||
Exec.waitFor(shellPid);
|
||||
bridge.dispatchDisconnect(false);
|
||||
}
|
||||
};
|
||||
Thread exitWatcherThread = new Thread(exitWatcher);
|
||||
exitWatcherThread.setName("LocalExitWatcher");
|
||||
exitWatcherThread.setDaemon(true);
|
||||
exitWatcherThread.start();
|
||||
|
||||
XXX - scp
|
||||
XXX - zlib
|
||||
XXX - rsync
|
||||
|
Loading…
Reference in New Issue
Block a user