Hi Fahd,
Fahd Abidi wrote:
> I have another issue, I'm using a 2.4 UClinux Kernel and am using the
> interruptible_sleep_on_timeout function to wait till an interrupt occurs
> or until the timeout expires. What I am seeing is that I never seem to
> time out the first time, I hit this function and then have to CTRL+C to
> interrupt the sleep, upon which my code begins to execute again, it will
> loop back to this exact same function again and the second and third
> time it will timeout and pass thru, but not the first. Has anyone seen
> this issue before?
Can you show your code?
Perhaps you are not setting the timeout correctly?
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL:
gerg@...
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB:
http://www.SnapGear.com---
coldfire@... Send a post to the list.
coldfire-join@... Join the list.
coldfire-digest@... Join the list in digest mode.
coldfire-leave@... Leave the list.