On Friday 06 September 2002 05:39 pm, Ilyas Keser wrote:
> What I also not understand is that one can also compile Mysql with
> MIT-Pthreads. What is a MIT-Pthread? Where can I read more about this?
>
> Thanks
>
> ilyas

'PThreads' is short for POSIX Threads, which is the Posix API specification 
for multi-threading. Threading can be implemented in a wide variety of ways, 
and an implementation of the PThreads API was done at MIT, thus 'MIT 
PThreads'. 

Since any PThreads implementation in theory implements the same API they 
SHOULD be interchangeable. In theory... In practice no such thing is even 
close to true because of various factors, but MySQL does claim to link and 
run against several threads libraries.

My guess would be that you are almost always better off using whatever the 
default threading is for your platform. It would require a deep knowledge of 
the implementation to have any idea what linking against some other thread 
library will do. At the very best you might get better performance or avoid 
some bugs, at worst you get a broken or flakey and/or inefficient binary. 
Leave it to experts! 

>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
> <[EMAIL PROTECTED]> Trouble
> unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to