It works now. I think I linked the wrong .so file, my bad! 2015-06-10 19:34 GMT+02:00 Hartmut Kaiser <[email protected]>:
> Konstantin, > > > Hartmut: I built the branch you told me and retried, but while I have > > worked around the issue for myself for now, I'm afraid the function still > > reports true even if the component has already been registered under that > > name and sequence number. > > Does the test I added pass for you? > > Regards Hartmut > --------------- > http://boost-spirit.com > http://stellar.cct.lsu.edu > > > > > 2015-06-10 17:00 GMT+02:00 Hartmut Kaiser <[email protected]>: > > > > > >From looking at your minimal testcase, you don't supply a sequence > > number > > > (It's the last argument for register_with_basename: > > > https://github.com/STEllAR-GROUP/hpx/blob/master/hpx/hpx_fwd.hpp#L1133 > ). > > > That means that you more or less overwrite the registration of A with > B, > > > and B > > > with C. In the end, there is only one component registered. That's the > > > reason > > > why you only successfully get the first element > > > > > > It looks like that's the issue. Supplying sequence numbers makes it > > work. > > > The registered component doesn't get overridden though, reading the > > first > > > entry of the vector yields the first component registered, not the > last. > > Sure, the registration of the second and any following components with > the > > same name simply fails. Is that unexpected? > > > > Regards Hartmut > > --------------- > > http://boost-spirit.com > > http://stellar.cct.lsu.edu > > > > _______________________________________________ > > hpx-users mailing list > > [email protected] > > https://mail.cct.lsu.edu/mailman/listinfo/hpx-users > > >
_______________________________________________ hpx-users mailing list [email protected] https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
