r192467 - in /branches/gupc/libgupc: ChangeLog ...
nenadv@gcc.gnu.org
nenadv@gcc.gnu.org
Mon Oct 15 17:44:00 GMT 2012
Author: nenadv
Date: Mon Oct 15 17:44:03 2012
New Revision: 192467
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192467
Log:
Add MCS lock implementation.
libgupc/
* configure.ac: Add max number of locks held by a thread.
* configure: Regenerate.
* Makefile.am (UPC_RUNTIME_SRC): Add lock related new files.
Removed upc_lock.c.
* Makefile.in: Regenerate.
* config.h.in: Regenerate.
* smp/upc_defs.h: Remove definition of upc_lock_t (new
implementation has more fields that are lock implementation
specific). Remove alloc lock from the upc_info_p as UPC
lock is used to protect alloc routines.
* smp/upc_lock.c: Delete.
* smp/upc_lock.h: Add prototype for lock init routine.
* smp/upc_lock_sup.h: MCS lock support routines for
signalling, swap, and compare/swap.
* smp/upc_main.c (__upc_per_thread_init): Call lock init.
(GUPCR_START): Remove init of alloc lock.
* smp/upc_lock.upc: New. New MCS lock implementation.
Added:
branches/gupc/libgupc/smp/upc_lock.h
branches/gupc/libgupc/smp/upc_lock.upc
branches/gupc/libgupc/smp/upc_lock_sup.h
Removed:
branches/gupc/libgupc/smp/upc_lock.c
Modified:
branches/gupc/libgupc/ChangeLog
branches/gupc/libgupc/Makefile.am
branches/gupc/libgupc/Makefile.in
branches/gupc/libgupc/config.h.in
branches/gupc/libgupc/configure
branches/gupc/libgupc/configure.ac
branches/gupc/libgupc/smp/upc_defs.h
branches/gupc/libgupc/smp/upc_main.c
More information about the Gcc-cvs
mailing list