Exemplo n.º 1
0
TEST_END

int
main(void)
{

    data_tsd_boot();

    return (test(
                test_tsd_main_thread,
                test_tsd_sub_thread));
}
Exemplo n.º 2
0
Arquivo: tsd.c Projeto: DawidvC/chapel
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));
}