Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [220.244.224.40] X-Originating-Email: [arashp AT hotmail DOT com] From: "Arash Partow" To: cygwin AT cygwin DOT com Cc: rbcollins AT cygwin DOT com Subject: Re: Serious problem with win32 pthreads crashing and c++ class Date: Wed, 22 Oct 2003 02:41:14 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 22 Oct 2003 02:41:15.0121 (UTC) FILETIME=[F6700E10:01C39845] Hi Robert, >>The prototype initially creates 700 threads all of which are contained in >>a vector (threadList), each thread does some "simple" string processing >>(basically tokenize a string) and then exists. On completion of the >>thread, the thread sets its own state in the thread-class to dead. Sounds >>like you aren't harvesting the thread state. forgive my arrogance, but could you please elaborate the meaning of "harvesting the thread state" cause I do obtain the state of the thread as being dead when the thread's execute function has been completed. i don't think i can make any other assumptions about the thread state. if you have the time could you please have a little build of my code, its small and wont take much time. url: http://www.partow.net/downloads/thread-question.zip any more advice would be appreciated. regards Arash __________________________________________________ Be one who knows what they don't know, Instead of being one who knows not what they don't know, Thinking they know everything about all things. http://www.partow.net _________________________________________________________________ Chat via SMS. Simply send 'CHAT' to 1889918. More info at http://ninemsn.com.au/mobilemania/MoChat.asp?blipid=6800 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/