v1.1.43 hangs with GLib/GDK threads
Tue, 9 Sep 2003 09:08:26 +0200
On Mon, Sep 08, 2003 at 02:41:18PM -0700, email@example.com wrote:
> > What the h... are glib threads?
This tells me what interface they implement, but not how they are
libglib-2.0 doesn't seem to be linked to pthread. So if glib threads are
entirely user level threads, it would be wrong to use it with
gcrypt-pthread, and that alone might trigger errors, depending on how you
link your program.
With user-level threads, it is probably sufficient to just link with plain
gcrypt. However, I don't know if glib ensures that it is user-level or if
it might us system threads. I don't think libgcrypt uses any of the
blocking system calls (read, write, select, ...) so it would not be
"preempted" by a user-level thread package and thus using the non-threaded
version would be safe.
Depsite all this, there might also be a bug in our thread support, of
course. We can try to find out more about that.
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org firstname.lastname@example.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/