Freeing I/O resource held by zombie process
Hi!
I'm writting a program that uses a USB webcam. Sometimes the program crashes and exits, but sometimes it crashes and becomes a zombie process, which I can't kill even with -9/-KILL signal. When that happens, all access to the USB webcam is totally interrupted and all attempts to communicate with it fail.
I'm looking for a way to either force this process to terminate or to at least make it release the webcam so I can use it again. So far, the only way I've found to regain control of the camera is to reboot.
Thanks on any advance
Krones
|