Пример #1
0
TEST_END

int
main(void)
{

    data_tsd_boot();

    return (test(
                test_tsd_main_thread,
                test_tsd_sub_thread));
}
Пример #2
0
TEST_END

int
main(void)
{

	/* Core tsd bootstrapping must happen prior to data_tsd_boot(). */
	if (nallocx(1, 0) == 0) {
		malloc_printf("Initialization error");
		return (test_status_fail);
	}
	data_tsd_boot();

	return (test(
	    test_tsd_main_thread,
	    test_tsd_sub_thread));
}