Re: Is there a delay which yields?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Barney Cordoba
Date: Sunday, March 15, 2009 - 11:43 am

--- On Sun, 3/15/09, Julian Elischer <julian@elischer.org> wrote:



I guess I mean a sleep. 

Also, this is a kernel driver. I have a device
which requires a toggle with a 10ms delay between pulses. I hate to 
tie up the cpu for 10ms with a delay. Sort of like the following:

write_pulse();
delay(10000);
write_pulse();


Barney


      
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Is there a delay which yields?, Barney Cordoba, (Sun Mar 15, 6:02 am)
Re: Is there a delay which yields?, Max Laier, (Sun Mar 15, 6:22 am)
Re: Is there a delay which yields?, Julian Elischer, (Sun Mar 15, 10:16 am)
Re: Is there a delay which yields?, Barney Cordoba, (Sun Mar 15, 11:43 am)
Re: Is there a delay which yields?, John Baldwin, (Thu Mar 19, 8:23 am)
Re: Is there a delay which yields?, Barney Cordoba, (Thu Mar 19, 3:02 pm)
Re: Is there a delay which yields?, Max Laier, (Thu Mar 19, 3:06 pm)
Re: Is there a delay which yields?, Julian Elischer, (Thu Mar 19, 3:45 pm)
Re: Is there a delay which yields?, Scott Long, (Thu Mar 19, 4:05 pm)