Re: pth and mysql

2002-11-13 Thread Ralf S. Engelschall
On Tue, Nov 12, 2002, Terry wrote:

 has anyone of you guys sucessfully used mysql with pth's pthread implementation ?

 ive used soft syscall mapping and mysql has sucessfuly compiled, but
 it seems only one thread is working - only one client can connect to mysql,
 another one gets tcp connection but no mysql banner.
 mysqld waits in select() call.

 any hints?
 any idea how to run mysql with pth ?
 i want to give it a try cause mysql on my openbsd system crashes way too often with 
native threads...

I've not tried it myself. But you can retry with the latest beta-version
GNU Pth 2.0b1 (ftp://ftp.ossp.org/pkg/lib/pth/) and use even hard
syscall mapping. This should give Pth better possibility to inject
itself into the MySQL code.
   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]



Re: pth and mysql

2002-11-13 Thread Melvyn Sopacua
At 16:27 13-11-2002, you wrote:


On Tue, Nov 12, 2002, Terry wrote:

 has anyone of you guys sucessfully used mysql with pth's pthread 
implementation ?

 ive used soft syscall mapping and mysql has sucessfuly compiled, but
 it seems only one thread is working - only one client can connect to mysql,
 another one gets tcp connection but no mysql banner.
 mysqld waits in select() call.

 any hints?
 any idea how to run mysql with pth ?

--with-named-threads-lib



 i want to give it a try cause mysql on my openbsd system crashes way 
too often with native threads...

I posted a problem with it a few months ago, for BSD/OS.

I have no idea to debug this, so if Ralf can give me some hints, what to 
look for/test I can pursue this.

http://www.mail-archive.com/pth-users;gnu.org/msg00345.html


Best regards,
Melvyn Sopacua
WebMaster IDG.nl
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
If it applies, where it applies - this email is a personal
contribution and does not reflect the views of my employer
IDG.nl.
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\

__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]


pth and mysql

2002-11-12 Thread Terry
hi,
has anyone of you guys sucessfully used mysql with pth's pthread implementation ?

ive used soft syscall mapping and mysql has sucessfuly compiled, but
it seems only one thread is working - only one client can connect to mysql,
another one gets tcp connection but no mysql banner.
mysqld waits in select() call.

any hints?
any idea how to run mysql with pth ?
i want to give it a try cause mysql on my openbsd system crashes way too often with 
native threads...

thanks in advance,
terry

__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]