Liberty BASIC Community Forum
« Tips by Dennis McKinney »

Welcome Guest. Please Login or Register.
Feb 18th, 2018, 4:04pm


Rules|Home|Help|Search|Recent Posts|Notification


« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Tips by Dennis McKinney  (Read 942 times)
offtomontana2000
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 24
xx Tips by Dennis McKinney
« Thread started on: Feb 27th, 2003, 6:29pm »

Your 'sleep' technique in 105 was just great, and worked fine down to 1ms. However, I CAN'T WAIT A MILLISECOND!
I tried to sleep at .5ms, and it acted just the same as at 0ms. In other words, it didn't sleep at all and processor usage was up at 100%. Is there a way to 'sleep' (or some other exotic .dll to waste time) for less than a millisecond?
(Lord knows Bill Gates has spent a great deal of time building coding into Windows to waste time...)
User IP Logged

------
John Conway
Dennis
Senior Member
ImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 299
xx Re: Tips by Dennis McKinney
« Reply #1 on: Mar 2nd, 2003, 2:18pm »

Quote:
Is there a way to 'sleep' (or some other exotic .dll to waste time) for less than a millisecond?


Not that I know of, but then again, what do I know? Seriously, If you can't wait a millisecond then why worry about it? There are plenty of pro apps out there that peg the processor. MS Access97 is one of them.

Dennis
User IP Logged

Life is what happens while you're making other plans.

The LibertyBelle http://www.syberden.net/libertybelle

SD DataGrid http://www.syberden.net
JerryMuelver
Board Moderator

member is offline

Avatar

Kissy, kissy?....


Homepage PM

Gender: Male
Posts: 1317
xx Re: Tips by Dennis McKinney
« Reply #2 on: Mar 2nd, 2003, 2:47pm »

on Mar 2nd, 2003, 2:18pm, Dennis wrote:
Not that I know of, but then again, what do I know? Seriously, If you can't wait a millisecond then why worry about it? There are plenty of pro apps out there that peg the processor. MS Access97 is one of them.

Light travels about 14 inches in a nanosecond. It seems to me you could install a propagation delay of about 3 nanoseconds with a yard or so of optic fiber patched into the board. We once calculated that integrated board designs could be built to a maximum length of 1400 feet if only you could tolerate a half-second of propagation delay in CPU cycles. Of course, our figures for the speed of light through copper may have been off a bit. rolleyes
User IP Logged

offtomontana2000
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 24
xx Re: Tips by Dennis McKinney
« Reply #3 on: Mar 4th, 2003, 1:18pm »

Boy, a guy gets a lot of sympathy on this board...
User IP Logged

------
John Conway
offtomontana2000
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 24
xx Re: Tips by Dennis McKinney
« Reply #4 on: Mar 4th, 2003, 2:26pm »

Much later, it hits him...

The more I thought about it, the more I couldn't help but make a comment: A board 1400 feet long? Ha! I love it! I'm up for the project, if you are.



User IP Logged

------
John Conway
JerryMuelver
Board Moderator

member is offline

Avatar

Kissy, kissy?....


Homepage PM

Gender: Male
Posts: 1317
xx Re: Tips by Dennis McKinney
« Reply #5 on: Mar 4th, 2003, 4:17pm »

on Mar 4th, 2003, 2:26pm, offtomontana2000 wrote:
Much later, it hits him...

The more I thought about it, the more I couldn't help but make a comment: A board 1400 feet long? Ha! I love it! I'm up for the project, if you are.

Well, that's just to show that propagation delay is a serious limiting factor, and that it simply would not be practical to construct an IC board longer than 1400 feet. It's good to understand the limitations before you get into production engineering. rolleyes
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Rules|Home|Help|Search|Recent Posts|Notification

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls