19 Commits

Author SHA1 Message Date
Josh Holtrop
a82110ab24 no longer printing messages when connections established
git-svn-id: svn://anubis/fart/trunk@243 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-15 01:55:25 +00:00
Josh Holtrop
d98c26da66 rearranged the failure handling code
git-svn-id: svn://anubis/fart/trunk@241 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-15 00:58:35 +00:00
Josh Holtrop
f267a8fd86 node failure now detected and recovered from in distrib::getTask()
git-svn-id: svn://anubis/fart/trunk@240 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-15 00:02:21 +00:00
Josh Holtrop
aaa38f6f2c added TCP_NODELAY socket option to communication sockets for messages to be sent immediately
git-svn-id: svn://anubis/fart/trunk@239 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-14 23:53:50 +00:00
Josh Holtrop
e21d948d52 added distrib desctructor, closing sockets
git-svn-id: svn://anubis/fart/trunk@235 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-13 22:34:58 +00:00
Josh Holtrop
fed63d7d1e initializing m_tasks_in_progress_mutex properly now
git-svn-id: svn://anubis/fart/trunk@234 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-13 22:18:10 +00:00
Josh Holtrop
2a7624e2fe calling distrib::taskDone from distrib::send_data().... needs testing
git-svn-id: svn://anubis/fart/trunk@233 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-13 03:32:56 +00:00
Josh Holtrop
898bf3a01c added mutex and std::map to keep track of tasks in progress; Scene waits for their completion
git-svn-id: svn://anubis/fart/trunk@232 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-13 03:31:44 +00:00
Josh Holtrop
97392f2271 updated parser a little, still figuring out why the server process exits early
git-svn-id: svn://anubis/fart/trunk@231 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-07 12:42:45 +00:00
Josh Holtrop
af4e4d571e getting closer with the distribution infrastructure
git-svn-id: svn://anubis/fart/trunk@230 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-07 11:02:39 +00:00
Josh Holtrop
8424e34a91 set sockets to close on exec
git-svn-id: svn://anubis/fart/trunk@228 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-06 21:57:18 +00:00
Josh Holtrop
68450b8c4d fixed to work again without --hosts argument
git-svn-id: svn://anubis/fart/trunk@227 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-06 18:41:34 +00:00
Josh Holtrop
33f554d714 reworking distrib & Scene to work together
git-svn-id: svn://anubis/fart/trunk@226 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-06 18:38:30 +00:00
Josh Holtrop
fdf34009bf using a mutex/condvar instead of a usleep to wait for listen thread to start
git-svn-id: svn://anubis/fart/trunk@225 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-06 17:17:04 +00:00
Josh Holtrop
d6aa5b6e69 added pthread support for starting the server listen/accept loop
git-svn-id: svn://anubis/fart/trunk@224 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-05 18:41:39 +00:00
Josh Holtrop
6fdaf01214 passing client options to distributed clients, ready to actually distribute work
git-svn-id: svn://anubis/fart/trunk@223 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-05 18:12:44 +00:00
Josh Holtrop
1dbe7040e4 working on distribution infrastructure some more, ssh working
git-svn-id: svn://anubis/fart/trunk@222 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-05 16:42:30 +00:00
Josh Holtrop
74399fe145 working on distrib infrastructure more
git-svn-id: svn://anubis/fart/trunk@221 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-05 15:52:18 +00:00
Josh Holtrop
0e818d1a92 added distrib infrastructure
git-svn-id: svn://anubis/fart/trunk@220 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-05 13:11:44 +00:00