On Mon, 2010-03-01 at 10:35 +, James Morris wrote:
Hi,
> I need to use an atomic pointer for my app. The documentation for the glib
> atomic operations is not exactly helpful.
>
> Anyway, I wrote a test program:
> g_atomic_pointer_set(&myptr, str);
> char* p = g_atomic_pointer_get(&m
On Thu, 2009-04-09 at 09:33 +0200, Luka Napotnik wrote:
Hi,
> I have a thread where the mutex for a GHashTable is locked/unlocked very
> intensely. It works for a short while but then the thread locks
> completely and if I profile my program I see that the programs resides
> in kernel for an unus