예제 #1
0
 static bool is_service_instance(naming::gid_type const& gid)
 {
     return gid.get_lsb() == HPX_AGAS_SYMBOL_NS_LSB &&
         (gid.get_msb() & ~naming::gid_type::locality_id_mask) == HPX_AGAS_NS_MSB;
 }
예제 #2
0
 bool primary_namespace::is_service_instance(naming::gid_type const& gid)
 {
     return gid.get_lsb() == HPX_AGAS_PRIMARY_NS_LSB &&
         (gid.get_msb() & ~naming::gid_type::locality_id_mask)
         == HPX_AGAS_PRIMARY_NS_MSB;
 }
예제 #3
0
bool is_local_lva_encoded_address(
    naming::gid_type const& gid
    )
{
    return naming::get_agas_client().is_local_lva_encoded_address(gid.get_msb());
}