1
1
This commit was SVN r19771.
Этот коммит содержится в:
Ralph Castain 2008-10-18 13:09:47 +00:00
родитель 6d026b86b7
Коммит ebaa2c59bb

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

@ -110,10 +110,6 @@ typedef struct {
opal_list_item_t super; opal_list_item_t super;
char data[ORTE_IOF_BASE_TAGGED_OUT_MAX]; char data[ORTE_IOF_BASE_TAGGED_OUT_MAX];
int numbytes; int numbytes;
#if OMPI_ENABLE_DEBUG
char *file;
int line;
#endif
} orte_iof_write_output_t; } orte_iof_write_output_t;
ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_iof_write_output_t); ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_iof_write_output_t);
@ -167,16 +163,19 @@ ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_iof_write_output_t);
#else #else
#define ORTE_IOF_SINK_DEFINE(nm, fid, tg, lcl, eplist) \ #define ORTE_IOF_SINK_DEFINE(snk, nm, fid, tg, wrthndlr, eplist) \
do { \ do { \
orte_iof_sink_t *ep; \ orte_iof_sink_t *ep; \
ep = OBJ_NEW(orte_iof_sink_t); \ ep = OBJ_NEW(orte_iof_sink_t); \
ep->name.jobid = (nm)->jobid; \ ep->name.jobid = (nm)->jobid; \
ep->name.vpid = (nm)->vpid; \ ep->name.vpid = (nm)->vpid; \
ep->tag = (tg); \ ep->tag = (tg); \
ep->fd = (fid); \ ep->wev.fd = (fid); \
ep->local = (lcl); \ opal_event_set(&(ep->wev.ev), ep->wev.fd, \
opal_list_append((eplist), &ep->super); \ OPAL_EV_WRITE|OPAL_EV_PERSIST, \
wrthndlr, &(ep->wev)); \
opal_list_append((eplist), &ep->super); \
*(snk) = ep; \
} while(0); } while(0);
#define ORTE_IOF_READ_EVENT(nm, fid, tg, cbfunc, revlist, actv) \ #define ORTE_IOF_READ_EVENT(nm, fid, tg, cbfunc, revlist, actv) \