delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/21/22:41:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <arashp AT hotmail DOT com>
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
Message-ID: <BAY9-F26NA5FC39nl6g0001f168@hotmail.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019