From stdcxx-dev-return-4820-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Fri Sep 07 14:53:57 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 47711 invoked from network); 7 Sep 2007 14:53:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Sep 2007 14:53:54 -0000 Received: (qmail 84290 invoked by uid 500); 7 Sep 2007 14:53:48 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 84269 invoked by uid 500); 7 Sep 2007 14:53:48 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 84206 invoked by uid 99); 7 Sep 2007 14:53:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 07:53:48 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 14:55:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4BC2571420A for ; Fri, 7 Sep 2007 07:53:31 -0700 (PDT) Message-ID: <28964361.1189176811306.JavaMail.jira@brutus> Date: Fri, 7 Sep 2007 07:53:31 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Assigned: (STDCXX-536) allow thread safety tests to time out without failing In-Reply-To: <23457336.1188006330941.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor reassigned STDCXX-536: ----------------------------------- Assignee: Travis Vitek Travis, can you take a look at this to see if we could implement it for 4.2 and avoid the test timeouts? > allow thread safety tests to time out without failing > ----------------------------------------------------- > > Key: STDCXX-536 > URL: https://issues.apache.org/jira/browse/STDCXX-536 > Project: C++ Standard Library > Issue Type: Improvement > Components: Tests > Affects Versions: trunk > Reporter: Martin Sebor > Assignee: Travis Vitek > Fix For: 4.2 > > > The newly added thread safety tests (and possibly some of the existing ones) tend to run for a long time, consuming a lot of CPU cycles, and sometimes even failing due to a timeout (currently 300 seconds in nightly builds). It would be useful to provide a mechanism such as a command line option whereby the tests' runtime could be limited without necessarily causing them to fail when the amount of time is exceeded. One way to do it would be for each test to set an alarm in response to this command line option and in handler for the alarm set a flag that each thread would check at each iteration of its loop to see if it should break. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.