lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 18 Jan 2011 17:33:34 -0600
From:	Leo Prasath <leo.prasath@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	Yiying Zhang <eggbaby150@...il.com>
Subject: sleep in microsecond granularity in linux

Hi there,

Is it possible to sleep in granularity of microseconds ?
>From what i know, there is msleep() which can sleep in milliseconds
and there is udelay() which busy waits for time in microsecond
granularity.
But I need to sleep ( not busy wait ) for granularity of microseconds ...

Is there a way to code a new API in linux kernel to allow this ? For
example using interrupts ..
Or is there a way to some external hardware timer cards that issue
interrupts after certain usecs ?

Any help / pointers/ tips will be very appreciated.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ