Commit ee61e491 authored by Philip Carns's avatar Philip Carns

clean up old terminology

parent bfe20adc
......@@ -130,7 +130,7 @@ int main(int argc, char **argv)
args[i].hg_context = hg_context;
args[i].svr_addr = svr_addr;
/* Each fiber gets a pointer to an element of the array to use
/* Each ult gets a pointer to an element of the array to use
* as input for the run_my_rpc() function.
*/
ret = ABT_thread_create(pool, run_my_rpc, &args[i],
......
......@@ -62,7 +62,7 @@ static void my_rpc_ult(hg_handle_t handle)
/* write to a file; would be done with abt-io if we enabled it */
#if 0
sprintf(filename, "/tmp/hg-fiber-%d.txt", in.input_val);
sprintf(filename, "/tmp/margo-%d.txt", in.input_val);
fd = abt_io_open(aid, filename, O_WRONLY|O_CREAT, S_IWUSR|S_IRUSR);
assert(fd > -1);
......
......@@ -57,7 +57,7 @@ margo_instance_id margo_init_pool(ABT_pool progress_pool, ABT_pool handler_pool,
hg_context_t *hg_context);
/**
* Shuts down margo library and its underlying evfibers and mercury resources
* Shuts down margo library and its underlying abt and mercury resources
* @param [in] mid Margo instance
*/
void margo_finalize(margo_instance_id mid);
......@@ -191,7 +191,7 @@ void margo_thread_sleep(
margo_instance_id margo_hg_class_to_instance(hg_class_t *cl);
/**
* macro that defines a function to glue an RPC handler to a fiber
* macro that defines a function to glue an RPC handler to a ult handler
* @param [in] __name name of handler function
*/
#define DEFINE_MARGO_RPC_HANDLER(__name) \
......@@ -212,7 +212,7 @@ hg_return_t __name##_handler(hg_handle_t handle) { \
/**
* macro that declares the prototype for a function to glue an RPC
* handler to a fiber
* handler to a ult
* @param [in] __name name of handler function
*/
#define DECLARE_MARGO_RPC_HANDLER(__name) hg_return_t __name##_handler(hg_handle_t handle);
......
......@@ -135,7 +135,7 @@ int main(int argc, char **argv)
args[i].hg_context = hg_context;
args[i].svr_addr = svr_addr;
/* Each fiber gets a pointer to an element of the array to use
/* Each ult gets a pointer to an element of the array to use
* as input for the run_my_rpc() function.
*/
ret = ABT_thread_create(pool, run_my_rpc, &args[i],
......
......@@ -134,7 +134,7 @@ int main(int argc, char **argv)
args[i].hg_context = hg_context;
args[i].svr_addr = svr_addr;
/* Each fiber gets a pointer to an element of the array to use
/* Each ult gets a pointer to an element of the array to use
* as input for the run_my_rpc() function.
*/
ret = ABT_thread_create(pool, run_my_rpc, &args[i],
......
......@@ -64,7 +64,7 @@ static void my_rpc_ult(hg_handle_t handle)
/* write to a file; would be done with abt-io if we enabled it */
#if 0
sprintf(filename, "/tmp/hg-fiber-%d.txt", in.input_val);
sprintf(filename, "/tmp/margo-%d.txt", in.input_val);
fd = abt_io_open(aid, filename, O_WRONLY|O_CREAT, S_IWUSR|S_IRUSR);
assert(fd > -1);
......
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