Problems with accessing list?

Michael Hudson mwh21 at cam.ac.uk
Fri Aug 4 13:12:30 EDT 2000


pauljolly at my-deja.com writes:

> Dear All,
> 
> I have multiple threads all inserting values into the same list at
> different points in the list. It is completely random as to when these
> values are inserted, for example it may be the case that two values
> insert at times very close to each other or at the same time (if this
> is possible). Could this cause a problem and result in an exception? I
> am having random occurences of errors in my program which I think might
> be due to the problem described above. Has anyone faced similar
> problems?

Per-obably not.  Can you post the code that does the insertion?  And
maybe the excpetions you get?

but-then-I-know-eff-all-about-threads-ly y'rs
M.

-- 
  Strangely enough  I saw just such a beast at  the grocery store
  last night. Starbucks sells Javachip. (It's ice cream, but that 
  shouldn't be an obstacle for the Java marketing people.)
                                         -- Jeremy Hylton, 29 Apr 1997



More information about the Python-list mailing list