You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by GitBox <gi...@apache.org> on 2022/08/15 14:41:33 UTC

[GitHub] [arrow-adbc] paleolimbot commented on issue #64: [Format] Formalize thread safety and concurrency guarantees

paleolimbot commented on issue #64:
URL: https://github.com/apache/arrow-adbc/issues/64#issuecomment-1215092186

   > I presume it is possible to queue R function calls from another thread?
   
   It's an absolute nightmare to do safely without the consumer evaluating the function call in a very special way that both the producer and consumer know about (e.g., [how we do it in the Arrow R package](https://github.com/apache/arrow/blob/master/r/src/safe-call-into-r.h#L142-L186)); however, the fact that R never considered this shouldn't impose restrictions on ADBC that make it painful to use.
   
   I just bring it up in case limiting method calls to the thread that created the connection is not in fact painful, and with the vague feeling that the sorry sod who has to work around this is going to end up being me.


-- 
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: issues-unsubscribe@arrow.apache.org

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