Commit 62b37947 authored by Philip Carns's avatar Philip Carns
Browse files

experimental abt-io dependency retrieval

parent 3f8adcbe
......@@ -3,8 +3,10 @@
* See COPYRIGHT in top-level directory.
#include <bedrock/module.h>
#include <string.h>
#include <bedrock/module.h>
#include <abt-io.h>
#include "bake-server.h"
#include "bake-client.h"
......@@ -20,6 +22,12 @@ static int bake_register_provider(bedrock_args_t args,
ABT_pool pool = bedrock_args_get_pool(args);
const char* config = bedrock_args_get_config(args);
const char* name = bedrock_args_get_name(args);
abt_io_instance_id abtio = bedrock_args_get_dependency(args, "abt_io", 0);
if (abtio)
BAKE_DEBUG(mid, "got abt-io instance");
BAKE_DEBUG(mid, "did not get abt-io instance");
BAKE_TRACE(mid, "bake_register_provider()");
BAKE_INFO(mid, " -> mid = %p", (void*)mid);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment