xwords/xwords4/relay
Andy2 9ff149fe2d fix race: if we get a cid from the DB while another thread has claimed
that cid, then by the time we can claim it there's no longer space for
us.  Call new method after the claim succeeds to make sure there's
still room, and if not relinquish and loop back to the DB for another
try.
2011-06-23 19:00:32 -07:00
..
scripts don't show times -- not interesting for debugging right now 2011-06-20 18:55:17 -07:00
.gitignore get started with test/cmdline app to query relay's new proxy interface. 2010-09-16 20:13:24 -07:00
cidlock.cpp fix ClaimSocket: it was neither marking claims nor checking for marks. 2011-06-23 18:58:50 -07:00
cidlock.h lots more changes -- another snapshot, this, rather than stuff 2011-06-23 07:12:50 -07:00
configs.cpp Need to remove before inserting. Todo: is there a replace? 2009-07-31 12:39:47 +00:00
configs.h up copyright 2009-07-30 12:54:17 +00:00
cref.cpp get rid of per-cref mutex: it's redundant now that access is 2011-06-23 18:57:48 -07:00
cref.h get rid of per-cref mutex: it's redundant now that access is 2011-06-23 18:57:48 -07:00
crefmgr.cpp fix race: if we get a cid from the DB while another thread has claimed 2011-06-23 19:00:32 -07:00
crefmgr.h lots more changes -- another snapshot, this, rather than stuff 2011-06-23 07:12:50 -07:00
ctrl.cpp block TERM and INT from all but the main thread. (Pretty much untested; doesn't fix hang-on-SIGINT.) 2010-10-04 20:03:19 -07:00
ctrl.h add missing lock(); track and display uptime of daemon child as well as parent 2009-07-31 12:56:04 +00:00
dbmgr.cpp lots more changes -- another snapshot, this, rather than stuff 2011-06-23 07:12:50 -07:00
dbmgr.h lots more changes -- another snapshot, this, rather than stuff 2011-06-23 07:12:50 -07:00
http.cpp get rid of ivars used only for http UI 2011-01-04 21:43:10 -08:00
http.h serve http view from cached data and make cache refresh rate 2009-08-21 12:32:57 +00:00
lstnrmgr.cpp meant to check this in 2010-08-12 06:42:59 -07:00
lstnrmgr.h add second class of socket to be listened on, meant for per-device 2010-08-12 06:42:33 -07:00
Makefile lots more changes -- another snapshot, this, rather than stuff 2011-06-23 07:12:50 -07:00
mlock.h up copyright 2009-07-30 12:54:17 +00:00
permid.cpp Store start time as time_t rather than string. 2009-09-26 14:05:51 +00:00
permid.h Store start time as time_t rather than string. 2009-09-26 14:05:51 +00:00
rq.c fix help 2011-03-31 06:41:39 -07:00
states.cpp lots more changes -- another snapshot, this, rather than stuff 2011-06-23 07:12:50 -07:00
states.h major mod to deal with devices that fail to receive ACK and then 2011-06-20 18:13:15 -07:00
timermgr.cpp add ACK to protocol, returned by device after gets connName on initial 2010-09-14 13:54:52 -07:00
timermgr.h remove unused funtion declaraion 2010-09-14 21:15:24 -07:00
tpool.cpp add logging 2011-06-20 18:10:42 -07:00
tpool.h run proxy sockets through same thread pool as game sockets. This 2011-01-20 18:14:56 -08:00
xwrelay.conf_tmplate make default socket timeout 5 seconds, not 20. 2011-03-31 18:13:16 -07:00
xwrelay.cpp lots more changes -- another snapshot, this, rather than stuff 2011-06-23 07:12:50 -07:00
xwrelay.css Add an http interface (read-only web console). 2009-02-28 16:15:59 +00:00
xwrelay.h lots more changes -- another snapshot, this, rather than stuff 2011-06-23 07:12:50 -07:00
xwrelay.sh add new ack column to track whether devices have ACKd yet. 2011-06-20 18:10:07 -07:00
xwrelay_priv.h run proxy sockets through same thread pool as game sockets. This 2011-01-20 18:14:56 -08:00