delorie.com/archives/browse.cgi | search |
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-Authentication-Warning: | isilon.com: Host 172-16-5-244.isilon.com [172.16.5.244] claimed to be isilon.com |
Message-ID: | <3E55C420.6030902@isilon.com> |
Date: | Thu, 20 Feb 2003 22:16:00 -0800 |
From: | Joe Sadusk <jsadusk AT isilon DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918 |
X-Accept-Language: | en-us, en |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Problem with pthreads |
I'm in qa, and I'm attempting to port a filesystem stress test written for Linux to Windows using cygwin. It uses pthreads to create many concurrent threads which read files out of a directory in various patterns. The thing is, I've found that with any more than 55 threads, pthread_join will hang indefinitely, for no apparent reason. Its also only the second call to pthread_join. Its being called from the creator thread and each of the threads were cancelled prior to being joined (and the cancel appears to work fine, as all disk activity stops). Its very strange. With 55 threads everything works exactly as expected, and with 56 it doesn't work at all. Is this a known issue, or am I doing something wrong? Thank you in advance if anyone is able to help me. Joe Sadusk QA Engineer - Isilon Systems -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |