Re: threading - race condition?

2008-05-12 Thread Rhamphoryncus
On May 11, 10:16 am, skunkwerk [EMAIL PROTECTED] wrote: On May 10, 1:31 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Fri, 9 May 2008 08:40:38 -0700 (PDT),skunkwerk[EMAIL PROTECTED] declaimed the following in comp.lang.python: Coming in late... On May 9, 12:12 am, John

Re: threading - race condition?

2008-05-12 Thread skunkwerk
On May 11, 1:55 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Sun, 11 May 2008 09:16:25 -0700 (PDT),skunkwerk [EMAIL PROTECTED] declaimed the following in comp.lang.python: the only issue i have now is that it takes a long time for 100 threads to initialize that connection (5 minutes)

Re: threading - race condition?

2008-05-12 Thread skunkwerk
On May 12, 1:40 am, Rhamphoryncus [EMAIL PROTECTED] wrote: On May 11, 10:16 am,skunkwerk[EMAIL PROTECTED] wrote: On May 10, 1:31 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Fri, 9 May 2008 08:40:38 -0700 (PDT),skunkwerk[EMAIL PROTECTED] declaimed the following in

Re: threading - race condition?

2008-05-12 Thread skunkwerk
On May 11, 9:10 pm, Gabriel Genellina [EMAIL PROTECTED] wrote: En Sun, 11 May 2008 13:16:25 -0300,skunkwerk[EMAIL PROTECTED] escribió: the only issue i have now is that it takes a long time for 100 threads to initialize that connection (5 minutes) - and as i'm doing this on a webserver any

Re: threading - race condition?

2008-05-12 Thread Rhamphoryncus
On May 12, 1:31 pm, skunkwerk [EMAIL PROTECTED] wrote: On May 12, 1:40 am, Rhamphoryncus [EMAIL PROTECTED] wrote: On May 11, 10:16 am,skunkwerk[EMAIL PROTECTED] wrote: On May 10, 1:31 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Fri, 9 May 2008 08:40:38 -0700

Re: threading - race condition?

2008-05-11 Thread skunkwerk
On May 10, 1:31 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Fri, 9 May 2008 08:40:38 -0700 (PDT),skunkwerk[EMAIL PROTECTED] declaimed the following in comp.lang.python:         Coming in late... On May 9, 12:12 am, John Nagle [EMAIL PROTECTED] wrote: skunkwerkwrote: i've

Re: threading - race condition?

2008-05-11 Thread Gabriel Genellina
En Sun, 11 May 2008 13:16:25 -0300, skunkwerk [EMAIL PROTECTED] escribió: the only issue i have now is that it takes a long time for 100 threads to initialize that connection (5 minutes) - and as i'm doing this on a webserver any time i update the code i have to restart all those threads,

Re: threading - race condition?

2008-05-09 Thread John Nagle
skunkwerk wrote: i'm getting the wrong output for the 'title' attributes for this data. the queue holds a data structure (item name, position, and list to store results in). each thread takes in an item name and queries a database for various attributes. from the debug statements the item

Re: threading - race condition?

2008-05-09 Thread skunkwerk
On May 9, 12:12 am, John Nagle [EMAIL PROTECTED] wrote: skunkwerk wrote: i'm getting the wrong output for the 'title' attributes for this data.  the queue holds a data structure (item name, position, and list to store results in).  each thread takes in an item name and queries a database

threading - race condition?

2008-05-08 Thread skunkwerk
i'm getting the wrong output for the 'title' attributes for this data. the queue holds a data structure (item name, position, and list to store results in). each thread takes in an item name and queries a database for various attributes. from the debug statements the item names are being

Re: threading - race condition?

2008-05-08 Thread castironpi
On May 8, 5:45 pm, skunkwerk [EMAIL PROTECTED] wrote: i'm getting the wrong output for the 'title' attributes for this data.  the queue holds a data structure (item name, position, and list to store results in).  each thread takes in an item name and queries a database for various attributes.  

Re: threading - race condition?

2008-05-08 Thread skunkwerk
On May 8, 4:54 pm, [EMAIL PROTECTED] wrote: On May 8, 5:45 pm, skunkwerk [EMAIL PROTECTED] wrote: i'm getting the wrong output for the 'title' attributes for this data. the queue holds a data structure (item name, position, and list to store results in). each thread takes in an item

Re: threading - race condition?

2008-05-08 Thread Gabriel Genellina
En Fri, 09 May 2008 01:30:32 -0300, skunkwerk [EMAIL PROTECTED] escribió: On May 8, 4:54 pm, [EMAIL PROTECTED] wrote: On May 8, 5:45 pm, skunkwerk [EMAIL PROTECTED] wrote: i'm getting the wrong output for the 'title' attributes for this data. the queue holds a data structure (item