diff options
Diffstat (limited to 'ext/Thread')
-rw-r--r-- | ext/Thread/Thread.xs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/Thread/Thread.xs b/ext/Thread/Thread.xs index b209d3b292..4816efcfe4 100644 --- a/ext/Thread/Thread.xs +++ b/ext/Thread/Thread.xs @@ -342,6 +342,7 @@ static Signal_t handle_thread_signal(int sig) { unsigned char c = (unsigned char) sig; + dTHX; /* * We're not really allowed to call fprintf in a signal handler * so don't be surprised if this isn't robust while debugging |