server-skynet-source-3rd-je.../test/unit
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
..
atomic.c Add atomic operations tests and fix latent bugs. 2014-08-06 23:36:19 -07:00
bitmap.c Implement compile-time bitmap size computation. 2014-09-28 14:43:11 -07:00
ckh.c Fix tsd cleanup regressions. 2014-10-04 11:22:55 -07:00
hash.c Replace variable arrays in tests with VARIABLE_ARRAY 2014-05-27 15:10:38 -07:00
junk.c Refactor huge allocation to be managed by arenas. 2014-05-15 22:36:41 -07:00
mallctl.c Fix arena.<i>.dss mallctl to handle read-only calls. 2014-08-15 12:20:20 -07:00
math.c Define INFINITY when it's not defined 2014-05-28 09:41:28 -07:00
mq.c Remove the *allocm() API, which is superceded by the *allocx() API. 2014-04-14 22:32:31 -07:00
mtx.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
prof_accum.c Refactor permuted backtrace test allocation. 2014-10-01 22:28:23 -07:00
prof_active.c Implement/test/fix prof-related mallctl's. 2014-10-03 23:25:30 -07:00
prof_gdump.c Add heap profiling tests. 2014-01-17 15:40:52 -08:00
prof_idump.c Add heap profiling tests. 2014-01-17 15:40:52 -08:00
prof_reset.c Implement/test/fix prof-related mallctl's. 2014-10-03 23:25:30 -07:00
prof_thread_name.c Skip test_prof_thread_name_validation if !config_prof. 2014-10-03 23:41:53 -07:00
ql.c Add unit tests for qr, ql, and rb. 2014-01-03 16:35:03 -08:00
qr.c Add unit tests for qr, ql, and rb. 2014-01-03 16:35:03 -08:00
quarantine.c Fix message formatting errors uncovered by p_test_fail() refactoring. 2014-03-30 11:21:09 -07:00
rb.c Convert to uniform style: cond == false --> !cond 2014-10-03 10:16:09 -07:00
rtree.c Convert all tsd variables to reside in a single tsd structure. 2014-09-23 02:36:08 -07:00
SFMT.c Use KQU() rather than QU() where applicable. 2014-05-28 21:17:42 -07:00
stats.c Rename "small" local variable, because windows headers #define it 2014-05-27 15:20:31 -07:00
tsd.c Fix tsd cleanup regressions. 2014-10-04 11:22:55 -07:00
util.c Use KQU() rather than QU() where applicable. 2014-05-28 21:17:42 -07:00
zero.c Fix message formatting errors uncovered by p_test_fail() refactoring. 2014-03-30 11:21:09 -07:00