From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 891 invoked by alias); 26 Mar 2012 14:31:52 -0000 Received: (qmail 879 invoked by uid 22791); 26 Mar 2012 14:31:50 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Mar 2012 14:31:23 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 97B4E2F7800E for ; Mon, 26 Mar 2012 15:31:20 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f5uqkVjGQW4t; Mon, 26 Mar 2012 15:31:17 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001544] services/curses/pdcurses: porting to GCC 4.6 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jifl@ecoscentric.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 26 Mar 2012 14:31:00 -0000 Message-Id: <20120326143117.AD53F2F7800B@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2012-03/txt/msg00117.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001544 Jonathan Larmour changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jifl@ecoscentric.com --- Comment #2 from Jonathan Larmour 2012-03-26 15:31:15 BST --- As a patch to the current code, it is fine, please commit. This is a separate issue really, but when I looked at it, I thought "that isn't thread-safe". But then I saw that it wasn't thread-safe before either, and then I saw that the main pdcurses code isn't thread-safe either. So I thought, that's fine, it's not meant to be thread-safe, although that isn't clear in the documentation. But then I see examples/pdcecos_app.c which seems to create a bunch of threads. But if curses isn't thread-safe, that doesn't seem like a great idea. In fact I don't really understand the purpose of pdcecos_app.c - why would users need to start curses threads in a special and unusual way? If it's just because of the need to create a per-thread data index, then there are other ways that could be dealt with. Jifl -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.