Return-Path: Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1RcwOi-0007yT-KM for ltp-list@lists.sourceforge.net; Tue, 20 Dec 2011 09:54:12 +0000 Received: from mail.windriver.com ([147.11.1.11]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1RcwOe-0006QB-HJ for ltp-list@lists.sourceforge.net; Tue, 20 Dec 2011 09:54:12 +0000 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id pBK9s2J2000755 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 20 Dec 2011 01:54:02 -0800 (PST) From: Date: Tue, 20 Dec 2011 17:53:54 +0800 Message-ID: <1324374835-22722-1-git-send-email-Wei.Yang@windriver.com> MIME-Version: 1.0 Subject: [LTP] [PATCH]pthread_barrier_wait/2-1.c: using mutext to protect global variable used by muti-thread List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: ltp-list@lists.sourceforge.net Cc: wei.yang@windriver.com Hi all This patch are for POSIX test suite. using mutext to protect global variable accessed by muti-threads. This ensures that it is a atomic operation, increasing global variable. Thanks and Regards wei ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list