At Wednesday 10/1/2007 07:14, Hendrik van Rooyen wrote:

I would like to do the following as one atomic operation:

1) Append an item to a list
2) Set a Boolean indicator

Wouldn't a thread.Lock object serve your purposes?


--
Gabriel Genellina
Softlab SRL

        

        
                
__________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to