copy sig_action structure from the current thread if we're the same team. Helps with #7235
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40701 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -463,6 +463,10 @@ create_thread(thread_creation_attributes& attributes, bool kernel)
|
||||
|
||||
// stop the new thread, if desired
|
||||
debugNewThread = debugFlags & B_THREAD_DEBUG_STOP_CHILD_THREADS;
|
||||
|
||||
// copy signal handlers
|
||||
memcpy(thread->sig_action, currentThread->sig_action,
|
||||
sizeof(thread->sig_action));
|
||||
}
|
||||
|
||||
// insert into global list
|
||||
|
||||
Reference in New Issue
Block a user