jyericlin commented on issue #2874: URL: https://github.com/apache/arrow-rs/issues/2874#issuecomment-1290848880
Thank you very much @tustvold for the suggestions. I appreciate it. The `Buffer::from_custom_allocation` works well. The only thing I had to modify is to create a dummy object as the allocation instead of `Arc::new(shmem)` as the shmem contains a `*mut u8` which can not be sent between threads safely. Then I can manage the shared memory (creation and free) manually. -- 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]
