Andy Bakun wrote:

On Wed, 2004-01-07 at 10:38, [EMAIL PROTECTED] wrote:


Hi all,
does anyone know if it's possible to compile MySQL under Linux so that
mysqld doesn't rely upon LinuxThreads, but makes direct call to fork()
or clone() system calls instead?



As far as I know and can tell from reading docs, Linux's pthread implementation DOES use clone to create threads. In most cases, pthread is a wrapper around whatever threading services the host system provides.

I would like that MySQL avoid calling pthread_create function, which is the wrapper around clone() provided by pthreads. I'm looking for a way to exploit clone() directly, or to deploy processes instead of threads through the fork call.



I'm looking for a way to avoid the exploitation of pthreads under
Linux.



Why wouldn't you want to use an industry standard threading model?


Just for testing purposes: I am trying to investigate the possible benefits that would come from the use of MySQL with the Migshm patch for OpenMosix, which enables threads migration, but which doesn't support pthreads presently (pthread_create call).

Any suggestions?
Thanks!


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to