Current Path : /compat/linux/proc/self/root/usr/src/tools/regression/pthread/unwind/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/src/tools/regression/pthread/unwind/main_thread_exit.cpp |
/* $FreeBSD: release/9.1.0/tools/regression/pthread/unwind/main_thread_exit.cpp 213155 2010-09-25 04:26:40Z davidxu $ */ /* check unwinding for main thread */ #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include "Test.cpp" int main() { Test test; atexit(check_destruct); pthread_exit((void *)1); return (0); }