can an external make use of pthreads?

2009-02-23 Thread Andre Garzia
Hello Folks, anyone here knows what happens if you execute some libexternal code inside a different thread? That is to say, if your external create a worker thread pool, is there anyway for those threads to tap into routines such as EvalExpr or GetVariable and the like? I've noticed strange behavi

Re: can an external make use of pthreads?

2009-02-24 Thread Brian Yennie
Andre, This is a shot in the dark, but from your description I wonder if Rev only maintains the callback address until your external returns. Then, it disposes of something under the assumption that your external doesn't need it any more, and things start to fail. This would explain why i