Sleeping in the kernel

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

 



I playing with the serial.c. The serial driver handles interrupts from the
serial hardware. If the driver is put to sleep via the
interruptible_sleep_on command to wait for the CTS to go high, how does it
handle the interrupts. (as it is already been put to sleep). I thought of
using fork to keep the parent waiting till the child wakes up or rather
exits after an interrupt e.g when CTS goes high but fork does not work in
kernel space.

Can any one help!This email and any files attached are intended for the
addressee and may contain information of a confidential nature.  If you are
not the intended recipient, be aware that this email was sent to you in
error and you should not disclose, distribute, print, copy or make other use
of this email or its attachments.  Such actions, in fact, may be unlawful.
In compliance with the various Regulations and Acts, General Dynamics UK
Limited reserves the right to monitor (and examine for viruses) all emails
and email attachments, both inbound and outbound.  Email communications and
their attachments may not be secure or error- or virus-free and the company
does not accept liability or responsibility for such matters or the
consequences thereof.  Registered Office: 100 New Bridge Street, London EC4V
6JA.  Registered in England and Wales No: 1911653.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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