Re: [Bioc-devel] [Untrusted Server] Rprintf in a multi-threaded environment

2019-01-28 Thread Yang Liao
Thanks, Shian! Yes, I think the only way to make it work is to send the messages to the main thread. Cheers, Yang -Original Message- From: Shian Su Sent: Tuesday, 29 January 2019 3:22 PM To: Yang Liao Cc: bioc-devel@r-project.org Subject: Re: [Untrusted Server][Bioc-devel] Rprintf in

Re: [Bioc-devel] [Untrusted Server] Rprintf in a multi-threaded environment

2019-01-28 Thread Shian Su
Hi Yang, That was my SO thread you found, and as you can see, the issue was never clearly explained to me besides the warning in the docs. I don’t believe anything’s changed to allow the R API to be called from different threads, so extra effort is still required. What I ended up doing in my c