|
From: | Jan D. |
Subject: | Re: Core dumps in redisplay. |
Date: | Mon, 28 Feb 2005 20:09:53 +0100 |
But xmalloc and all related routines use BLOCK_INPUT nevertheless. So it is obvious that although malloc seemingly can be used (given _BOTH_ PTHREAD and GTK) without problems, all uses of xmalloc still are flawed in the old way. So we still can't allow using xmalloc except in the main thread. What is the design? Should xmalloc be usable outside of the main thread or not?
The Gnome file backend does not know about or use xmalloc and friends, so only the main thread calls it. Note, the threading checks are there for the purpose of the Gnome file chooser backend only, it is not a general thread safe solution.
Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |