[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] re gmBackendListener

From: Karsten Hilbert
Subject: Re: [Gnumed-devel] re gmBackendListener
Date: Sun, 1 Feb 2004 18:19:43 +0100
User-agent: Mutt/

> where the backend listener transfers a notify from postgres
> to gmDispatcher, won't it trigger a notification on relevant
> listeners registered in gmDispatcher outside of the gui thread?
yes, that's why listeners use wxCallAfter()

> What if something was being registered in gmDispatcher at the same time
> from a different thread?
as Horst pointed out: no worries, as the list insert is
Python-level atomic

> Is there a lock inside gmDispatcher?

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

[Prev in Thread] Current Thread [Next in Thread]