mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Replace remaining C style comments
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
This commit is contained in:
parent
66923380fb
commit
73ca4b5c8d
3 changed files with 7 additions and 7 deletions
|
@ -1,9 +1,9 @@
|
|||
/** Reorder samples hook.
|
||||
/* Reorder samples hook.
|
||||
*
|
||||
* @author Philipp Jungkamp <philipp.jungkamp@opal-rt.com>
|
||||
* @copyright 2023, OPAL-RT Germany GmbH
|
||||
* @license Apache 2.0
|
||||
*********************************************************************************/
|
||||
*/
|
||||
|
||||
#include <cinttypes>
|
||||
#include <cstring>
|
||||
|
@ -151,10 +151,10 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
/* Register hook */
|
||||
// Register hook
|
||||
static char n[] = "reorder_ts";
|
||||
static char d[] = "Reorder messages by their timestamp";
|
||||
static HookPlugin<ReorderTsHook, n, d, (int) Hook::Flags::NODE_WRITE | (int) Hook::Flags::PATH | (int) Hook::Flags::NODE_READ, 2> p;
|
||||
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
|
|
|
@ -980,7 +980,7 @@ int villas::node::ib_write(NodeCompat *n, struct Sample * const smps[], unsigned
|
|||
// TODO: fix release logic
|
||||
// n->logger->debug("{} samples will be released (before WC)", *release);
|
||||
|
||||
/* Try to grab as many CQEs from CQ as there is space in *smps[] */
|
||||
// Try to grab as many CQEs from CQ as there is space in *smps[]
|
||||
// ret = ibv_poll_cq(ib->ctx.send_cq, cnt - *release, wc);
|
||||
|
||||
for (int i = 0; i < ret; i++) {
|
||||
|
|
|
@ -209,7 +209,7 @@ int villas::node::rtp_parse(NodeCompat *n, json_t *json)
|
|||
sa_set_port(&r->in.saddr_rtp, port);
|
||||
sa_set_port(&r->in.saddr_rtcp, port+1);
|
||||
|
||||
/* TODO: parse * in addresses */
|
||||
// TODO: parse * in addresses
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue