003 File Manager
Current Path:
/usr/src/tools/regression/pthread/unwind
usr
/
src
/
tools
/
regression
/
pthread
/
unwind
/
📁
..
📄
Makefile
(537 B)
📄
Test.cpp
(578 B)
📄
catch_pthread_exit.cpp
(498 B)
📄
cond_wait_cancel.cpp
(626 B)
📄
cond_wait_cancel2.cpp
(795 B)
📄
main_thread_exit.cpp
(229 B)
📄
sem_wait_cancel.cpp
(470 B)
📄
thread_normal_exit.cpp
(391 B)
Editing: main_thread_exit.cpp
/* $FreeBSD$ */ /* 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); }
Upload File
Create Folder