From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2161 invoked by alias); 13 Jun 2002 16:16:37 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 2134 invoked from network); 13 Jun 2002 16:16:34 -0000 Received: from unknown (HELO web13804.mail.yahoo.com) (216.136.175.14) by sources.redhat.com with SMTP; 13 Jun 2002 16:16:34 -0000 Message-ID: <20020613161634.36993.qmail@web13804.mail.yahoo.com> Received: from [12.125.149.86] by web13804.mail.yahoo.com via HTTP; Thu, 13 Jun 2002 09:16:34 PDT Date: Thu, 13 Jun 2002 09:16:00 -0000 From: Wayne Xin Subject: pthread_join returned status To: pthreads-win32@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002/txt/msg00074.txt.bz2 Win2k is complaining about my memory access violation when I try to get the status returned from pthread_join: int* status; int result; pthread_join(tid, (void**) &status); result = *status; <-- this line seems causing problem At the other end, I always put a status at pthread_exit: int status = 3; pthread_exit(&status); Did anybody see similar problem? -Wayne __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com