threads/process in device driver!!!!!!

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

 



I have written a driver which supports IOCTL_CALLS. When an user application within the same process create 2 threads and sends iotcl calls parallely... My driver is failing..
 
But when i try to print the pid in the driver ioctl  code , I get 2 different process IDs.
 
1. I want to know, if the driver in this scenario runs in 2 different process contexts or 2 different thread context.
 
Using semaphore has helped to resolve the problem but i still want to know..if linux supports threads concepts at kernel-space.
 
Please help.
 
thanks,
Ben.
 


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux