opening linux char device file in user thread.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux