opening linux char device file in user thread.

From: P.Manohar
Date: Thu Aug 04 2005 - 02:50:34 EST



hai,

I have written a daemon which is running in user space, will send some data periodically to kernel space. This I have done with the help of a device file.

It is working, but I want to apply threads mechanism in that daemon. But when I split that daemon functionality into a thread and a original process. I am unable to open the device file. This is happening in both places(either in thread or original process).

The device is opening when threading is not there.

Can anybody suggest me?

Regards,
P.Manohar.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/