Skip to content

Commit a7ea0d9

Browse files
shintaro-iwasakihppritcha
authored andcommitted
ompi/request: move REQUEST constants from mca/threads to ompi/request
Signed-off-by: Shintaro Iwasaki <[email protected]>
1 parent 69e8af5 commit a7ea0d9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ompi/request/request.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ typedef struct ompi_request_t ompi_request_t;
151151
*/
152152
#define PREDEFINED_REQUEST_PAD 256
153153

154+
#define REQUEST_PENDING (void *)0L
155+
#define REQUEST_COMPLETED (void *)1L
156+
154157
struct ompi_predefined_request_t {
155158
struct ompi_request_t request;
156159
char padding[PREDEFINED_REQUEST_PAD - sizeof(ompi_request_t)];

opal/mca/threads/wait_sync.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ extern int opal_max_thread_in_progress;
3030

3131
#include MCA_threads_wait_sync_base_include_HEADER
3232

33-
#define REQUEST_PENDING (void *)0L
34-
#define REQUEST_COMPLETED (void *)1L
35-
3633
/**
3734
* Update the status of the synchronization primitive. If an error is
3835
* reported the synchronization is completed and the signal

0 commit comments

Comments
 (0)