Subj : Re: Freeing data structures in a threaded application To : comp.programming.threads From : Luke Ehresman Date : Wed Feb 16 2005 06:42 am David, Thanks for the tips. I do have a mutex for the session list for adding and removing sessions from that list. However, I also have separate mutexes for operating on individual sessions. That way I can do operations on multiple sessions at the same time (but can only modify the session list one at a time). Your idea of keeping a list of sessions that are pending deletion is a great idea. That's the piece I was missing. Thanks! Luke .