jcferretti commented on issue #38565:
URL: https://github.com/apache/arrow/issues/38565#issuecomment-2146196632

   > There is likely no need for locking, just making SetToken take a 
shared_ptr instead of a raw pointer may be enough, see linked issue.
   
   Actually that's wrong, there is no guarantee that a mutation and a read of a 
shared_ptr is consistent; thanks to [lidavidm](https://github.com/lidavidm) for 
[pointing 
out](https://github.com/apache/arrow/pull/41927#issuecomment-2145113816)


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to