1
1
openmpi/opal/class/Makefile.am
Nathan Hjelm 88251a6b94 Combine opal_free_list_t and ompi_free_list_t
Historically these two lists were different due to ompi_free_list_t
dependencies in ompi (mpool). Those dependencies have since been moved
to opal so it is safe to (finally) combine them. The combined free
list comes in three flavors:

 - Single-threaded. Only to be used when it is guaranteed that no
   concurrent access will be made to the free list. Single-threaded
   functions are suffixed with _st.

 - Mutli-threaded. To be used when the free list may be accessed by
   multiple threads despite the setting of opal_using_threads.
   Multi-threaded functins are suffixed with _mt.

 - Conditionally multi-threaded. Common use case. These functions are
   thread-safe if opal_using_threads is set to true.

Compatibility functions for the ompi_free_list_t and the old accessor
functions (OPAL_FREE_LIST_*) are available while the code base is
transitioned to the new class/functions.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-02-24 10:05:44 -07:00

60 строки
1.9 KiB
Makefile

# -*- makefile -*-
#
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
# University Research and Technology
# Corporation. All rights reserved.
# Copyright (c) 2004-2007 The University of Tennessee and The University
# of Tennessee Research Foundation. All rights
# reserved.
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2014 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2014 Los Alamos National Security, LLC. All rights
# reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# This makefile.am does not stand on its own - it is included from
# opal/Makefile.am
# Source code files
headers += \
class/opal_bitmap.h \
class/opal_free_list.h \
class/opal_hash_table.h \
class/opal_hotel.h \
class/opal_tree.h \
class/opal_list.h \
class/opal_object.h \
class/opal_graph.h\
class/opal_lifo.h \
class/opal_fifo.h \
class/opal_pointer_array.h \
class/opal_value_array.h \
class/opal_ring_buffer.h \
class/opal_rb_tree.h \
class/ompi_free_list.h
lib@OPAL_LIB_PREFIX@open_pal_la_SOURCES += \
class/opal_bitmap.c \
class/opal_free_list.c \
class/opal_hash_table.c \
class/opal_hotel.c \
class/opal_tree.c \
class/opal_list.c \
class/opal_object.c \
class/opal_graph.c\
class/opal_lifo.c \
class/opal_fifo.c \
class/opal_pointer_array.c \
class/opal_value_array.c \
class/opal_ring_buffer.c \
class/opal_rb_tree.c \
class/ompi_free_list.c