Jay,

In your case it would work because it's your custom class that makes the
callbacks, and your custom class, being inlined in Perl, is created by
the thread that communicates with Perl.

The restriction would apply only to object creation, not method
invocation.

I worked on it a bit more last night and it's starting to slowly
converge towards a working implementation.

I'll keep y'all posted...

Patrick


On Wed, 2003-11-19 at 20:40, Jay Strauss wrote:
> I'm not sure if it would work in my case:
> 
> My perl will:
> - create instance of custom class
> - create instance of vendor class, passing it my custom class
> - call method in vendor's class which starts a new thread
> - new thread calls, custom class' methods
> - custom class method makes callbacks to perl
> 
> Won't that violate:
> 
> - Only the thread which communicates with Inline::Java will be allowed
> to create objects that can callback into Perl (extend
> InlineJavaPerlCaller)
> 
> Or maybe I don't get it (entirely possible)
> 
> 
> Cheers,
> 
> Patrick
> 
> =====================
> Patrick LeBoutillier
> Laval, Québec, Canada
> 
> 
-- 
=====================
Patrick LeBoutillier
Laval, Québec, Canada

Reply via email to