From: Matias G. <gui...@es...> - 2004-05-07 06:23:54
|
Hello, I would like to know if it is thread-safe to use PyDispatcher when signals are emitted from a thread, with receivers from other threads and vice versa. Reading source code, I did not notice any special code for dealing with this kind of usage. I expected to see some Queues, or Locks, etc. However I tried to use it with threads, and for my particular example it worked... As it is said to be a 'multi-producer, multi- consumer signals dispatcher', I think it is thread-safe ? If so, how it is achieved ? I would like to understand :-) Thanks in advance for your answer! Regards, M. Guijarro. |