1
1
openmpi/opal/class/Makefile.am
Jeff Squyres 96f640a762 Add new "opal_hotel" class. Abstractly speaking, this class does the
following:

 * Provides a fixed number of resource slots (i.e., "hotel rooms").
 * Allows one thing to occupy a resource slot at a time (i.e., each
   hotel room can have an occupant check in to that room).
 * Resource slots can be vacated at any time (i.e., occupants can
   voluntarily check out of their hotel room).
 * Resource slots can be occupied for a specific maximum amount of
   time.  If that time expires, the occupant is forcibly evicted and
   the upper layer is notified via (libevent) callback (i.e., the maid
   will kick an occupant of out of their room when their reservation
   is over).

This class can be to be used for things like retransmission schemes
for unreliable transports.  For example, a message sent on an
unreliable transport can be checked in to a hotel room.  If an ACK for
that message is received, the message can be checked out.  But if the
ACK is never received, the message will eventually be evicted from its
room and the upper layer will be notified that the message failed to
check out in time (i.e., that an ACK for that message was not received
in time).

Code using this class is currently being developed off-trunk, but will
be coming to SVN soon.

This commit was SVN r27067.
2012-08-16 17:29:55 +00:00

52 строки
1.6 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$
#
# 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_atomic_lifo.h \
class/opal_pointer_array.h \
class/opal_value_array.h \
class/opal_ring_buffer.h
libopen_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_atomic_lifo.c \
class/opal_pointer_array.c \
class/opal_value_array.c \
class/opal_ring_buffer.c