Permalink
Browse files

AGAS, Applier: Fix distributed bootstrap.

git-svn-id: https://svn.cct.lsu.edu/repos/projects/parallex/trunk/hpx@7063 5079c8e4-9419-0410-93bb-9e5ee278c886
  • Loading branch information...
brycelelbach committed Feb 20, 2012
1 parent 4e38759 commit 292dd02b0e84d75a4adee9a4d8e3dd77fc96c1ca
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/runtime/applier/applier.cpp
@@ -402,7 +402,8 @@ namespace hpx
{
HPX_API_EXPORT boost::uint32_t get_locality_id()
{
return applier::get_applier().get_locality_id();
applier::applier** appl = applier::applier::applier_.get();
return appl ? (*appl)->get_locality_id() : 0;
}
}

0 comments on commit 292dd02

Please sign in to comment.