Subject: Re: Unproven threads...
To: None <>
From: Wolfgang Rupprecht <>
List: current-users
Date: 09/24/2001 19:54:36 (David Reid) writes:
> Has anyone who's used the package noticed calls to pthread_create returning
> a thread but never seemingly running the function asked of it?

This happens in xgrip (the CD -> mp3 gui tool).  Luckily in this case
a call to pthread_join() fixed things, but thats obviously not a very
universal kludge.

+      Debug("creating cddb lookup thread.\n");
+      pthread_create(&cddb_thread,NULL, DoLookup,NULL);
+      /* this new thread never runs.  hit it with a big hammer. -wsr */
+      Debug("join cddb lookup thread.\n");
+      pthread_join(cddb_thread, NULL);

       Wolfgang Rupprecht <>
Coming soon: GPS mapping tools for Open Systems.