> > Basically yield and lock dont mix. > That's definitely true. Even though it "works", it's still a bad idea. Ok, so why is it a bad idea then (if it does what I want, at least in MS.Net, doesn't it?). Actually I already removed my yield code to avoid problems, but using yield would have been nice. Thank you Bernhard