📄 mpidi_ch3_impl.h
字号:
/* -*- Mode: C; c-basic-offset:4 ; -*- *//* * (C) 2001 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */#if !defined(MPICH_MPIDI_CH3_IMPL_H_INCLUDED)#define MPICH_MPIDI_CH3_IMPL_H_INCLUDED#include "mpidi_ch3i_dllchan_conf.h"#include "mpidi_ch3_conf.h"#include "mpidimpl.h"/* FIXME: Old code from sock below here *//* This is all socket connection definitions */ /* MT - not thread safe! */#define MPIDI_CH3I_SendQ_enqueue(vcch, req) \{ \ MPIU_DBG_MSG(CH3_MSG,TYPICAL,"Enqueuing this request");\ req->dev.next = NULL; \ if (vcch->sendq_tail != NULL) \ { \ vcch->sendq_tail->dev.next = req; \ } \ else \ { \ vcch->sendq_head = req; \ } \ vcch->sendq_tail = req; \} /* MT - not thread safe! */#define MPIDI_CH3I_SendQ_enqueue_head(vcch, req) \{ \ MPIU_DBG_MSG(CH3_MSG,TYPICAL,"Enqueuing this request at head");\ req->dev.next = vcch->sendq_head; \ if (vcch->sendq_tail == NULL) \ { \ vcch->sendq_tail = req; \ } \ vcch->sendq_head = req; \} /* MT - not thread safe! */#define MPIDI_CH3I_SendQ_dequeue(vcch) \{ \ MPIU_DBG_MSG(CH3_MSG,TYPICAL,"Dequeuing this request");\ vcch->sendq_head = vcch->sendq_head->dev.next; \ if (vcch->sendq_head == NULL) \ { \ vcch->sendq_tail = NULL; \ } \}#define MPIDI_CH3I_SendQ_head(vcch) (vcch->sendq_head)#define MPIDI_CH3I_SendQ_empty(vcch) (vcch->sendq_head == NULL)/* End of connection-related macros *//* FIXME: Any of these used in the ch3->channel interface should be defined in a header file in ch3/include that defines the channel interface */int MPIDI_CH3I_Progress_init(void);int MPIDI_CH3I_Progress_finalize(void);int MPIDI_CH3I_VC_post_connect(MPIDI_VC_t *);#endif /* !defined(MPICH_MPIDI_CH3_IMPL_H_INCLUDED) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -