Based on one of the OpenSHMEM Teams WG meeting, I got confused with the definition of SHMEM_TEAM_NULL constant. To me SHMEM_TEAM_NULL is still a team with just one PE and no-team resource attached to it. If we had SHMEM_TEAM_SELF in the list of Team constants, then SHMEM_TEAM_NULL is just SHMEM_TEAM_SELF without any resource attached to it. If this assumption is not correct, then there is no difference between a NULL pointer and SHMEM_TEAM_NULL.
Based on one of the OpenSHMEM Teams WG meeting, I got confused with the definition of
SHMEM_TEAM_NULL
constant. To meSHMEM_TEAM_NULL
is still a team with just one PE and no-team resource attached to it. If we hadSHMEM_TEAM_SELF
in the list of Team constants, thenSHMEM_TEAM_NULL
is justSHMEM_TEAM_SELF
without any resource attached to it. If this assumption is not correct, then there is no difference between a NULL pointer andSHMEM_TEAM_NULL
.