Re: nanosleep

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

 



On 7/7/07, Rajat Jain <Rajat.Jain@xxxxxxxxxxxx> wrote:
[snip]

Huh? So something like following is allowed?
Yes AFAICT.

preempt_disable();
udelay(5);
preempt_enable();

?????
What is wrong with this code?
This should work fine.
udelay is fine enough i guess.
It should be a prob if it is msleep(n) or usleep(n).

isn't it?
yes/no?
Did i miss something?

Thanks

I must admit, this is a shock to me.

Rajat


--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post
http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please
http://www.expita.com/nomime.html

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




--
play the game

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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