Re: [Rd] Child thread libR.so

2015-08-25 Thread Ryan C Metzger
efully, you'll notice it says > "Rf_initialize_R" - which is quite critical in this matter. > > Cheers, > Simon > > > On Aug 24, 2015, at 9:18 AM, Ryan C Metzger wrote: > >> I did some poking around with GDB and confirmed that the advice of >> setti

Re: [Rd] Child thread libR.so

2015-08-24 Thread Ryan C Metzger
t main.c:861 #4 0x2b14a98b in Rf_initEmbeddedR (argc=, argv=) at Rembedded.c:63 On Thu, Aug 20, 2015 at 1:21 PM, Ryan C Metzger wrote: > So I'm working on a custom front end to R, in one mode of the front > end I dynamically load libR.so into a child worker thread. I'm ve

[Rd] Child thread libR.so

2015-08-20 Thread Ryan C Metzger
So I'm working on a custom front end to R, in one mode of the front end I dynamically load libR.so into a child worker thread. I'm very careful to make sure it is loaded by a single thread and loaded only once, but since it is a child thread it violates assumptions made by the stack size checking i