xwords/xwords4
ehouse 8284799abe Fix crashes resulting from deleting cref instances in one thread while
another wanted to operate on them.  The root problem is that you can't
dispose of a mutex while somebody's blocking on it.  So now the
locking mutexes live inside the cref class.  When the lock owner
realizes the cref needs to die, it sets a flag and it's moved to a
recycled list.  A thread blocking on the mutex will then get it, but
checks the flag and releases it immediately if it's being recycled.
(Also improve the http interface a bit.)  With these changes I've run
31K (and counting) games against the relay without a crash or deadlock
(using sim_real.sh.)  The main problem that remains is that sometimes
two games using the same cookie wind up with two crefs (and so never
connect.)
2009-07-28 05:15:26 +00:00
..
common New feature, meant for testing relay, makes robot skip random number 2009-07-09 12:43:51 +00:00
dawg Useful ftell, commented out. 2009-03-29 18:13:09 +00:00
franklin use stream_putString 2006-04-25 13:46:59 +00:00
linux Clean up gtk case and fix post-game log checking. 2009-07-28 05:02:09 +00:00
palm Fix to compile (and so dicts are read into new internal format) on Palm. 2009-04-07 04:33:47 +00:00
relay Fix crashes resulting from deleting cref instances in one thread while 2009-07-28 05:15:26 +00:00
symbian tweaks to compile both standalone and for relay use. Remember: Symbian 2006-09-23 20:40:36 +00:00
tests allow to run multiple games at once 2005-09-14 05:12:07 +00:00
wince tweak new game dialog 2009-05-01 04:36:58 +00:00
Makefile first checked in 2003-12-09 05:21:42 +00:00