1
1

These list items are free list items, and should inherit properly..

This commit was SVN r10295.
Этот коммит содержится в:
Galen Shipman 2006-06-11 20:19:12 +00:00
родитель 85b60cf2bd
Коммит 9d73217637
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -113,5 +113,5 @@ mca_mpool_base_tree_item_t* mca_mpool_base_tree_item_get(void) {
*/
void mca_mpool_base_tree_item_put(mca_mpool_base_tree_item_t* item) {
OMPI_FREE_LIST_RETURN(&mca_mpool_base_tree_item_free_list,
item);
&(item->super));
}

Просмотреть файл

@ -21,7 +21,7 @@
#define MCA_MPOOL_BASE_TREE_MAX 8
#include "opal/mca/mca.h"
#include "ompi/info/info.h"
#include "opal/class/opal_list.h"
#include "ompi/class/ompi_free_list.h"
#include "ompi/class/ompi_rb_tree.h"
#include "ompi/mca/mpool/mpool.h"
@ -35,7 +35,7 @@
*/
struct mca_mpool_base_tree_item_t
{
opal_list_item_t super; /**< the parent class */
ompi_free_list_item_t super; /**< the parent class */
void* key; /* the address this was alloc'd on */
mca_mpool_base_module_t* mpools[MCA_MPOOL_BASE_TREE_MAX]; /**< the mpools */
mca_mpool_base_registration_t* regs[MCA_MPOOL_BASE_TREE_MAX]; /**< the registrations */

Просмотреть файл

@ -24,7 +24,7 @@
#define MCA_RCACHE_RB_TREE_H
#include "opal/mca/mca.h"
#include "ompi/info/info.h"
#include "opal/class/opal_list.h"
#include "ompi/class/ompi_free_list.h"
#include "ompi/mca/mpool/mpool.h"
#include "rcache_rb.h"
/*
@ -46,7 +46,7 @@ typedef struct mca_rcache_rb_tree_key_t mca_rcache_rb_tree_key_t;
*/
struct mca_rcache_rb_tree_item_t
{
opal_list_item_t super; /**< the parent class */
ompi_free_list_item_t super; /**< the parent class */
mca_rcache_rb_tree_key_t key; /**< the key which holds the memory pointers */
mca_mpool_base_registration_t* reg; /**< the registration */
};