server-skynet-source-3rd-je.../test
Jason Evans 029d44cf8b Fix tsd cleanup regressions.
Fix tsd cleanup regressions that were introduced in
5460aa6f66 (Convert all tsd variables to
reside in a single tsd structure.).  These regressions were twofold:

1) tsd_tryget() should never (and need never) return NULL.  Rename it to
   tsd_fetch() and simplify all callers.
2) tsd_*_set() must only be called when tsd is in the nominal state,
   because cleanup happens during the nominal-->purgatory transition,
   and re-initialization must not happen while in the purgatory state.
   Add tsd_nominal() and use it as needed.  Note that tsd_*{p,}_get()
   can still be used as long as no re-initialization that would require
   cleanup occurs.  This means that e.g. the thread_allocated counter
   can be updated unconditionally.
2014-10-04 11:22:55 -07:00
..
include/test Refactor permuted backtrace test allocation. 2014-10-01 22:28:23 -07:00
integration Add support for sized deallocation. 2014-09-08 17:34:24 -07:00
src Refactor permuted backtrace test allocation. 2014-10-01 22:28:23 -07:00
stress Add support for sized deallocation. 2014-09-08 17:34:24 -07:00
unit Fix tsd cleanup regressions. 2014-10-04 11:22:55 -07:00
test.sh.in Streamline test output. 2013-12-12 14:58:26 -08:00