Re: [Rd] Thread synchronization [Was: Interrupting C++ code execution]

2011-04-27 Thread Sean Robert McGuffee
Hi Simon, That makes a lot of sense to me. I'll start reading about R's event loop signaling. I'm not sure what the best method will be for me to flag the completeness of a threaded process in my case. In abstract it seems that I could get R's event loop to look for any type of flag. I think key

Re: [Rd] Thread synchronization [Was: Interrupting C++ code execution]

2011-04-27 Thread Simon Urbanek
Sean, On Apr 27, 2011, at 3:21 PM, Sean Robert McGuffee wrote: Hi Simon, That makes a lot of sense to me. I'll start reading about R's event loop signaling. I'm not sure what the best method will be for me to flag the completeness of a threaded process in my case. In abstract it seems that

[Rd] Thread synchronization [Was: Interrupting C++ code execution]

2011-04-26 Thread Simon Urbanek
Sean, On Apr 26, 2011, at 5:06 PM, Sean Robert McGuffee wrote: I've been thinking about how to handle c++ threads that were started via Rcpp calls to some of my c++ libraries from R. My main obstacle is trying to make sure that users don't try to process files that are being generated by a