[vdr] consistent device removal
Udo Richter
udo_richter at gmx.de
Mon Jan 26 22:43:03 CET 2009
On 26.01.2009 22:25, Deti Fliegl wrote:
> sometimes it is very useful to create and destroy cDevice based classes
> at runtime. Currently it is only possible to create such classes at any
> time but destroying causes inconsistency in the 'devices' array which
> leads to segmentation faults in various places.
Definitely something that is worth considering. The patch also brings us
one step closer towards hotplug support, a feature that seems very
obvious in times of USB DVB devices.
However this throws the question at which time and in which context it
is safe to kill a device object without risking that any running process
gets into trouble because its device is suddenly in bit heaven.
Cheers,
Udo
More information about the vdr
mailing list