* Added SIGNAL_FLAG_DONT_RESTART_SYSCALL for send_signal_etc() which
utilizes the THREAD_FLAG_DONT_RESTART_SYSCALL (but only in SIGCONT for now). * resume_thread() is now using that flag to be compatible with BeOS. * This fixes the Terminal hanging on close. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24045 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2003-2007, Axel Dörfler, [email protected]. All rights reserved.
|
||||
* Copyright 2003-2008, Axel Dörfler, [email protected]. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _KERNEL_SIGNAL_H
|
||||
@@ -15,8 +15,9 @@
|
||||
#define SIGNAL_TO_MASK(signal) (1LL << (signal - 1))
|
||||
|
||||
// additional send_signal_etc() flag
|
||||
#define SIGNAL_FLAG_TEAMS_LOCKED (0x10000)
|
||||
#define SIGNAL_FLAG_TEAMS_LOCKED (0x10000)
|
||||
// interrupts are disabled and team lock is held
|
||||
#define SIGNAL_FLAG_DONT_RESTART_SYSCALL (0x20000)
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user