westonpace commented on pull request #9528:
URL: https://github.com/apache/arrow/pull/9528#issuecomment-793078243


   It could only deallocate it if the global reference was changed and all 
attempts to change the global reference should go through the same spinlock.  
The signal handler should always be given the "second reference" no matter what.
   
   Or, since you're using spinlocks to guard all changes to the global 
reference, you could just change the global reference to a plain old pointer 
which might make it more obvious.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to