newlib/winsup/cygwin/tlsoffsets.h
Christopher Faylor 9863b78e7b * cygtls.h (waitq): Declare structure here.
(_cygtls::wq): Declare.
* cygtls.cc (_cygtls::fixup_after_fork): Clear wq.thread_ev to avoid using an
invalid event handle in forked process.
* dcrt0.cc (waitq_storage): Delete.
(threadstuff): Remove waitq_storage.
* perthread.h (per_thread_waitq): Delete.
(waitq_storage): Delete declaration.
* sigproc.cc (sigproc_init): Remove perthread waitq consideration.
* sigproc.h (waitq): Delete declaration.
* wait.cc (wait4): Use _my_tls waitq structure rather than per_thread.
* cygtls.h (_cygtls::newmask): Delete member.
(_cygtls::deltamask): New member.
* gendef (_sigdelayed): Replace the call to set_process_mask by a call to
set_process_mask_delta.
* exceptions.cc (handle_sigsuspend): Do not filter tempmask.  Or
SIG_NONMASKABLE in deltamask as a flag.
(_cygtls::interrupt_setup): Set deltamask only.
(set_process_mask_delta): New function.
(_cygtls::call_signal_handler): Replace the first call to set_process_mask by a
call to set_process_mask_delta.
* tlsoffsets.h: Regenerate.
2004-03-12 03:09:28 +00:00

110 lines
2.8 KiB
C

//;# autogenerated: Do not edit.
//; $tls::sizeof__cygtls = 3776;
//; $tls::func = -3776;
//; $tls::pfunc = 0;
//; $tls::saved_errno = -3772;
//; $tls::psaved_errno = 4;
//; $tls::sa_flags = -3768;
//; $tls::psa_flags = 8;
//; $tls::oldmask = -3764;
//; $tls::poldmask = 12;
//; $tls::deltamask = -3760;
//; $tls::pdeltamask = 16;
//; $tls::event = -3756;
//; $tls::pevent = 20;
//; $tls::errno_addr = -3752;
//; $tls::perrno_addr = 24;
//; $tls::initialized = -3748;
//; $tls::pinitialized = 28;
//; $tls::sigmask = -3744;
//; $tls::psigmask = 32;
//; $tls::sigwait_mask = -3740;
//; $tls::psigwait_mask = 36;
//; $tls::sigwait_info = -3736;
//; $tls::psigwait_info = 40;
//; $tls::threadkill = -3732;
//; $tls::pthreadkill = 44;
//; $tls::infodata = -3728;
//; $tls::pinfodata = 48;
//; $tls::tid = -3580;
//; $tls::ptid = 196;
//; $tls::local_clib = -3576;
//; $tls::plocal_clib = 200;
//; $tls::locals = -2648;
//; $tls::plocals = 1128;
//; $tls::wq = -1080;
//; $tls::pwq = 2696;
//; $tls::prev = -1052;
//; $tls::pprev = 2724;
//; $tls::next = -1048;
//; $tls::pnext = 2728;
//; $tls::stackptr = -1044;
//; $tls::pstackptr = 2732;
//; $tls::sig = -1040;
//; $tls::psig = 2736;
//; $tls::incyg = -1036;
//; $tls::pincyg = 2740;
//; $tls::spinning = -1032;
//; $tls::pspinning = 2744;
//; $tls::stacklock = -1028;
//; $tls::pstacklock = 2748;
//; $tls::stack = -1024;
//; $tls::pstack = 2752;
//; $tls::padding = 0;
//; $tls::ppadding = 3776;
//; __DATA__
#define tls_func (-3776)
#define tls_pfunc (0)
#define tls_saved_errno (-3772)
#define tls_psaved_errno (4)
#define tls_sa_flags (-3768)
#define tls_psa_flags (8)
#define tls_oldmask (-3764)
#define tls_poldmask (12)
#define tls_deltamask (-3760)
#define tls_pdeltamask (16)
#define tls_event (-3756)
#define tls_pevent (20)
#define tls_errno_addr (-3752)
#define tls_perrno_addr (24)
#define tls_initialized (-3748)
#define tls_pinitialized (28)
#define tls_sigmask (-3744)
#define tls_psigmask (32)
#define tls_sigwait_mask (-3740)
#define tls_psigwait_mask (36)
#define tls_sigwait_info (-3736)
#define tls_psigwait_info (40)
#define tls_threadkill (-3732)
#define tls_pthreadkill (44)
#define tls_infodata (-3728)
#define tls_pinfodata (48)
#define tls_tid (-3580)
#define tls_ptid (196)
#define tls_local_clib (-3576)
#define tls_plocal_clib (200)
#define tls_locals (-2648)
#define tls_plocals (1128)
#define tls_wq (-1080)
#define tls_pwq (2696)
#define tls_prev (-1052)
#define tls_pprev (2724)
#define tls_next (-1048)
#define tls_pnext (2728)
#define tls_stackptr (-1044)
#define tls_pstackptr (2732)
#define tls_sig (-1040)
#define tls_psig (2736)
#define tls_incyg (-1036)
#define tls_pincyg (2740)
#define tls_spinning (-1032)
#define tls_pspinning (2744)
#define tls_stacklock (-1028)
#define tls_pstacklock (2748)
#define tls_stack (-1024)
#define tls_pstack (2752)
#define tls_padding (0)
#define tls_ppadding (3776)