* cygtls.h (_cygtls::get_signal_arrived): Add parameter to make lock/unlock
conditional. * exceptions.cc (_cygtls::interrupt_setup): Don't get a lock when setting signal_arrived since we already have one. * gendef: Add some comments to make it easier to find functions.
This commit is contained in:
@@ -218,6 +218,7 @@ __ZN7_cygtls3popEv:
|
||||
popl %ebx
|
||||
ret
|
||||
|
||||
# _cygtls::lock
|
||||
.global __ZN7_cygtls4lockEv
|
||||
__ZN7_cygtls4lockEv:
|
||||
pushl %ebx
|
||||
@@ -231,6 +232,7 @@ __ZN7_cygtls4lockEv:
|
||||
2: popl %ebx
|
||||
ret
|
||||
|
||||
# _cygtls::unlock
|
||||
.global __ZN7_cygtls6unlockEv
|
||||
__ZN7_cygtls6unlockEv:
|
||||
decl $tls::pstacklock(%eax)
|
||||
|
Reference in New Issue
Block a user