Rewrite Windows signal delivery system

This commit is contained in:
Justine Tunney 2023-09-12 11:38:34 -07:00
parent 00084577a3
commit 81f391dd22
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
19 changed files with 66 additions and 333 deletions

View file

@ -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))