Allow stopping (via kill -STOP) and "fg" to resume session

This commit is contained in:
Keith Winstein
2012-11-04 13:07:24 -05:00
parent 07b2942945
commit 28ed30c356
2 changed files with 22 additions and 4 deletions
+2
View File
@@ -74,6 +74,8 @@ private:
return network && ( network->get_remote_state_num() == 0 );
}
void resume( void ); /* restore state after SIGCONT */
public:
STMClient( const char *s_ip, int s_port, const char *s_key, const char *predict_mode )
: ip( s_ip ), port( s_port ), key( s_key ),