Open ArcEye opened 6 years ago
Comment by cdsteinkuehler Fri Oct 14 00:14:53 2016
It looks like "NIY" means Not Implemented Yet. I guess this is a feature request and not a bug...here's the code:
int do_delring_cmd(char *ring)
{
halcmd_output("delring NIY: ring='%s'\n", ring);
// return halpr_group_delete(group);
return 0;
}
Comment by mhaberler Fri Oct 14 08:30:04 2016
A ringbuffer is a toplevel HAL object (=independent of any other) and there is no dependency tracking of which comps reference a ringbuffer - deleting a ringbuffer which happens to be referenced by a comp will likely lead to a crash
so it is best to consider a ringbuffer "eternal" (for HAL session lifetime)
the delring command is implemented in the last version I worked on 13 months ago but I do not recommend it except after all comps are unloaded
Issue by cdsteinkuehler Fri Oct 14 00:11:52 2016 Originally opened as https://github.com/machinekit/machinekit/issues/1076
I'm not sure I completely understand the syntax, but if I'm not confused it doesn't look like you can delete a ring with halcmd once it's created: