[JDEV] thread problem, HELP !!!
dizzyd at dizzyd.com
Sat Jun 9 10:45:27 CDT 2001
On Sat, Jun 09, 2001 at 10:56:54AM +0200, Gerard BUNEL wrote:
> I'm trying to write a module for the Jabber server which aims at
> handling XDB requests
> by doing some CORBA requests. I'm using ORBacus 4.0.3 with JTC to do the
> CORBA requests.
Hrm..this could be quite dangerous as the Jabber server doesn't
actually have pre-emptive threads -- it uses a cooperative, user-land
thread implementation that is definately not pre-emptive.
> in the initialization function of my module I do all CORBA
> initialization stuff.
> But when the handler is called, ORBacus requests to adopt the current
> thread as it has its own
> thread management. When this is done the Jabber server crashes with a
> Segmentation fault
Yeah, I would guess that ORBacus uses pthreads or something..mixing
those with the PTH threads that Jabber uses just doesn't
work. Sorry. :)
However, the Jabber.com server is fully pre-emptive -- if you really
want to mix an ORB in, you might contact them and see if they can help
More information about the JDev