Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M
margo
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • sds
  • margo
  • Issues
  • #66

Closed
Open
Opened Nov 23, 2020 by Marc Vef@mvef
  • Report abuse
  • New issue
Report abuse New issue

Confusion about migrating to margo_init_ext()

We are currently using margo_init_opt() which has become deprecated in the latest Margo master branch. I'm a bit confused about how to migrate our old configuration to margo_init_ext(). At the moment, our config for the server looks something like this:

struct hg_init_info hg_options = HG_INIT_INFO_INITIALIZER;
hg_options.auto_sm = HG_TRUE;
hg_options.na_init_info.progress_mode = NA_NO_BLOCK;
margo_init_opt("some_protocol", MARGO_SERVER_MODE, &hg_options, HG_TRUE, handler_xstreams);
  • Is there a default JSON config with all default values that I can then modify or do I simply leave out fields I don't need to change from default?
  • Where do I define use_progress_thread and rpc_thread_count in margo_init_ext() which were the previous function arguments in margo_init_opt()? I can't find them in new interface or JSON.

Thanks!

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: sds/margo#66