Jason Evans 767d85061a Refactor arenas array (fixes deadlock).
Refactor the arenas array, which contains pointers to all extant arenas,
such that it starts out as a sparse array of maximum size, and use
double-checked atomics-based reads as the basis for fast and simple
arena_get().  Additionally, reduce arenas_lock's role such that it only
protects against arena initalization races.  These changes remove the
possibility for arena lookups to trigger locking, which resolves at
least one known (fork-related) deadlock.

This resolves #315.
2016-02-24 23:58:10 -08:00
..
2015-03-23 17:26:53 -07:00
2015-08-10 23:42:33 -07:00
2012-02-28 16:50:47 -08:00
2015-06-25 22:53:58 +02:00
2016-02-21 21:39:05 -08:00
2015-08-03 21:49:02 -07:00
2016-02-24 13:03:48 -08:00
2014-12-08 16:34:04 -08:00
2014-12-08 16:34:04 -08:00
2014-11-07 14:50:38 -08:00
2016-02-23 18:09:25 -08:00
2015-09-11 20:40:34 -07:00
2016-02-19 20:29:06 -08:00
2016-02-19 20:32:37 -08:00
2014-09-10 21:49:42 -04:00