List:General Discussion« Previous MessageNext Message »
From:terry jones Date:April 12 1999 5:08am
Subject:Re: Opening multiple MySQL connections in one program (with and without threads).
View as plain text  
>>>>> "Ed" == Ed Carp <erc@stripped> writes:
Ed> Whose thread library are you trying to use?

ldd on my executable shows

  libpthread.so.0 => /lib/libpthread.so.0 (0x40017000)

  $ ls -l /lib/libpthread.so.0
  lrwxrwxrwx 1 root root 17 Oct  1  1998 /lib/libpthread.so.0 -> libpthread-0.7.so

I have glibc, or libc 6, or whatever its called these days. I did
nothing special (wrt threads) to build mysql.  It's definitely not
building anything under mit-threads (find mit-threads -name '*.o'
produces nothing (after building)).

Here's a grep -i thread on the output of configure:

  checking LinuxThreads... Found
  checking named thread libs:... -lpthread
  checking for strtok_r in -lpthread... yes
  checking for sigthreadmask... no
  checking for pthread_sigmask... yes
  checking for pthread_setprio... no
  checking for pthread_setprio_np... no
  checking for pthread_setschedparam... yes
  checking for pthread_attr_setprio... no
  checking for pthread_attr_setschedparam... yes
  checking for pthread_attr_create... no
  checking for pthread_getsequence_np... no
  checking args to pthread_getspecific... POSIX
  checking args to pthread_mutex_init... POSIX
  checking for pthread_attr_setscope... no


Terry.
Thread
Opening multiple MySQL connections in one program (with and without threads).terry jones12 Apr
  • Re: Opening multiple MySQL connections in one program (with and without threads).Ed Carp12 Apr
  • Re: Opening multiple MySQL connections in one program (with and without threads).terry jones12 Apr
  • Re: Opening multiple MySQL connections in one program (with and without threads).Ed Carp12 Apr
  • Re: Opening multiple MySQL connections in one program (with and without threads).Ed Carp12 Apr
  • Re: Opening multiple MySQL connections in one program (with andwithout threads).Aldrian Gintingsuka12 Apr
  • Opening multiple MySQL connections in one program (with and without threads).Michael Widenius12 Apr
  • Opening multiple MySQL connections in one program (with and without threads).terry jones12 Apr
    • Re: Opening multiple MySQL connections in one program (with andwithout threads).Ilya Obshadko12 Apr
    • Re: Opening multiple MySQL connections in one program (with andwithout threads).terry jones12 Apr
      • Re: Opening multiple MySQL connections in one program (with andwithout threads).Ilya Obshadko12 Apr
      • Re: Opening multiple MySQL connections in one program (with andwithout threads).terry jones13 Apr
  • Re: Opening multiple MySQL connections in one program (with and without threads).Ed Carp13 Apr
  • Re: Opening multiple MySQL connections in one program (with and without threads).terry jones14 Apr