[JDEV] gnu pth and pthreads problems

Benjamin Kahn xkahn at cybersites.com
Wed Sep 6 20:21:02 CDT 2000


	I wish I could give you silver bullets.  Instead, I can just give
you pointers in the right direction.

	* unixODBC can be compiled without threads.  It's possible that it
can not be done when linking with Oracle.  In that case...
	* unixODBC has a ODBC->ODBC module which can be compiled without
threads.  Do that and make it contact the unixODBC->Oracle driver.
	* The next generation of jserver, jabberd will get around this
problem by making xdb be a seperate (non PTH) process.  I'm waiting for
this.  I think it's in beta now.
	* Many databases with ODBC support allow you to use non-threaded
versions.  Certainly, Informix's ODBC drivers are available as
both.  Oracle is VASTLY more expensive...  I'm sure they have SOMETHING!
	* You could switch databases.  ;^)

	That's all I can think of for now.  You might be able to compile
PTH with different signal numbers.  That hasn't worked for me yet, but it
might be worth a shot.

On Wed, 6 Sep 2000, Paul Goh wrote:

> Date: Wed, 6 Sep 2000 17:36:58 -0700
> From: Paul Goh <paulgoh at alibaba-inc.com>
> Reply-To: jdev at jabber.org
> To: jdev at jabber.org
> Subject: [JDEV] gnu pth and pthreads problems
> 
> Dear all,
> 
> When I tried to link Oracle ProC libraries (it is basically APIs to link
> with Oracle database)  with Jabber Server, it seems that the addition of the
> ProC libraries, which makes use of pthreads, crashes the initialization of
> gnu pth that is used by Jabber Server.
> 
> Other than writing a database access daemon that serves Jabber Server, is
> there any easier way around this problem?
> 
> Any advise or suggestions will be greatly appreciated.
> (btw, the unixODBC driver for oracle is also using pthreads)
> 
> Paul
> 
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 

						-Ben

------------------------------------ |\      _,,,--,,_  ,) ----------
Benjamin Kahn                        /,`.-'`'   -,  ;-;;'
(212) 924 - 2220 ext 201            |,4-  ) )-,_ ) /\
ben at cybersites.com --------------- '---''(_/--' (_/-' ---------------
   I just want to make the world a better place for me to live in.
			-Lucy in a Peanuts comic





More information about the JDev mailing list