Commit 281e4a95 authored by Jonathan Jenkins's avatar Jonathan Jenkins
Browse files

remove bad memcpys (note: rc is broken)

parent 9cc64008
...@@ -719,7 +719,8 @@ static int mpi_queue_remove_matching_op(nw_state* s, tw_lp* lp, struct mpi_queue ...@@ -719,7 +719,8 @@ static int mpi_queue_remove_matching_op(nw_state* s, tw_lp* lp, struct mpi_queue
} }
if(rcv_val >= 0) if(rcv_val >= 0)
{ {
memcpy(&m->u.rc.ptr_match_op, &tmp->mpi_op, sizeof(struct codes_workload_op)); /* TODO: fix RC */
/*memcpy(&m->u.rc.ptr_match_op, &tmp->mpi_op, sizeof(struct codes_workload_op));*/
if(mpi_queue->queue_head == mpi_queue->queue_tail) if(mpi_queue->queue_head == mpi_queue->queue_tail)
{ {
mpi_queue->queue_tail = NULL; mpi_queue->queue_tail = NULL;
...@@ -755,7 +756,8 @@ static int mpi_queue_remove_matching_op(nw_state* s, tw_lp* lp, struct mpi_queue ...@@ -755,7 +756,8 @@ static int mpi_queue_remove_matching_op(nw_state* s, tw_lp* lp, struct mpi_queue
} }
if(rcv_val >= 0) if(rcv_val >= 0)
{ {
memcpy(&m->u.rc.ptr_match_op, &elem->mpi_op, sizeof(struct codes_workload_op)); /* TODO: fix RC */
/*memcpy(&m->u.rc.ptr_match_op, &elem->mpi_op, sizeof(struct codes_workload_op));*/
if(elem == mpi_queue->queue_tail) if(elem == mpi_queue->queue_tail)
mpi_queue->queue_tail = tmp; mpi_queue->queue_tail = tmp;
......
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