mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-02 17:28:30 +00:00
Rewrite Windows signal delivery system
This commit is contained in:
parent
00084577a3
commit
81f391dd22
19 changed files with 66 additions and 333 deletions
|
@ -8,7 +8,6 @@ COSMOPOLITAN_C_START_
|
|||
extern int __vforked;
|
||||
extern bool __time_critical;
|
||||
extern pthread_mutex_t __fds_lock_obj;
|
||||
extern pthread_mutex_t __sig_lock_obj;
|
||||
extern unsigned __sighandrvas[NSIG + 1];
|
||||
extern unsigned __sighandflags[NSIG + 1];
|
||||
extern const struct NtSecurityAttributes kNtIsInheritable;
|
||||
|
@ -16,9 +15,6 @@ extern const struct NtSecurityAttributes kNtIsInheritable;
|
|||
void __fds_lock(void);
|
||||
void __fds_unlock(void);
|
||||
void __fds_funlock(void);
|
||||
void __sig_lock(void);
|
||||
void __sig_unlock(void);
|
||||
void __sig_funlock(void);
|
||||
|
||||
#define __vforked (__tls_enabled && (__get_tls()->tib_flags & TIB_FLAG_VFORKED))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue