I'm just curious about sleep

R

Robin

I'm just wondering what it would take to write your own function without
using modules or anything that is identical or at least performs identically
to the internal perl function, sleep?
has anyone tried this...etc?
I thought of just doing some heavy operations that don't really do anything
and try to line it up to last seconds in interation, but I don't think this
would be productive or really be the way to do it.
It's just a curiousity.

Thanks.
 
P

Paul Lalli

I'm just wondering what it would take to write your own function without
using modules or anything that is identical or at least performs identically
to the internal perl function, sleep?
has anyone tried this...etc?
I thought of just doing some heavy operations that don't really do anything
and try to line it up to last seconds in interation, but I don't think this
would be productive or really be the way to do it.
It's just a curiousity.

perldoc -f select
(near the bottom)

Paul Lalli
 
B

Bryan Castillo

Robin said:
I'm just wondering what it would take to write your own function without
using modules or anything that is identical or at least performs identically
to the internal perl function, sleep?
has anyone tried this...etc?
I thought of just doing some heavy operations that don't really do anything
and try to line it up to last seconds in interation, but I don't think this
would be productive or really be the way to do it.

Off-topic

I used that technique when I was in high school to create a video game
on a TI-86 graphing calculator. I later found out that the timing
changed as the battery started to loose its charge. (Really, its not
a good idea)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,149
Messages
2,570,841
Members
47,388
Latest member
EarthaGilm

Latest Threads

Top