Hi!

> >> Under FreeBSD gethostbyname is not thread-safe
> >> And there is no thread-safe gethostbyname_r
> >> (function exist but not thread-safe)
> >>
> >> Are mysql know about this!!!
>
> Just a note about this problem:
>
> We will add a wrapper for gethostbyname() in 3.23.51 and the 4.0.2
> that will fix things for OS where gethostbyname is not threadsafe.
>

Thank you very mach.
And now I use libmysqlclient.so and each mysql_real_connect include in
pthread_mutex_lock(), pthread_mutex_unlock() construction. :)
It helps me in thread programs.

> Regards,
> Monty
>

    Best regards.
_______________________________________
        Andrey Kotrekhov [EMAIL PROTECTED]
        ISP Alkar Teleport
        ΤΕΜ. +380 562 34-00-44


---------------------------------------------------------------------
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