This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r133638 - in /branches/gomp-3_0-branch/libgomp:...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 27 Mar 2008 11:10:58 -0000
- Subject: r133638 - in /branches/gomp-3_0-branch/libgomp:...
Author: jakub
Date: Thu Mar 27 11:10:58 2008
New Revision: 133638
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133638
Log:
* libgomp.h (struct gomp_team_state): Remove single_count field
ifndef HAVE_SYNC_BUILTINS.
(struct gomp_team): Likewise. Add work_share_list_free_lock
ifndef HAVE_SYNC_BUILTINS.
* team.c (gomp_new_team): If HAVE_SYNC_BUILTINS is not defined,
don't initialize single_count, but instead initialize
work_share_list_free_lock.
(free_team): Destroy work_share_list_free_lock ifndef
HAVE_SYNC_BUILTINS.
(gomp_team_start): Don't initialize ts.single_count ifndef
HAVE_SYNC_BUILTINS.
* work.c (alloc_work_share, free_work_share): Use
work_share_list_free_lock instead of atomic chaining ifndef
HAVE_SYNC_BUILTINS.
Modified:
branches/gomp-3_0-branch/libgomp/ChangeLog.gomp
branches/gomp-3_0-branch/libgomp/libgomp.h
branches/gomp-3_0-branch/libgomp/team.c
branches/gomp-3_0-branch/libgomp/work.c