1
1

If event threads are enabled, we don't need to wakeup the event lib to pickup new events - so help valgrind to quit whining about it.

This commit was SVN r24837.
Этот коммит содержится в:
Ralph Castain 2011-06-29 22:52:28 +00:00
родитель a09245e6c8
Коммит 4dc3ee369f

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

@ -85,6 +85,9 @@ typedef struct {
#define OPAL_EVENT_ADD 0x01
#define OPAL_EVENT_DEL 0x02
#if OPAL_EVENT_HAVE_THREAD_SUPPORT
#define OPAL_UPDATE_EVBASE(b, evt, ad)
#else
#define OPAL_UPDATE_EVBASE(b, evt, ad) \
do { \
opal_event_update_t up; \
@ -92,7 +95,8 @@ typedef struct {
up.op = (ad); \
opal_fd_write((b)->update_pipe[1], sizeof(opal_event_update_t), &up); \
} while(0);
#endif
BEGIN_C_DECLS
/* Temporary global - will be replaced by layer-specific event bases */