Making a deterministic time socket connection using Python?

You get errno 22 when you pass a negative argument to time. Sleep What are the values of self. Acaba and self.

Empieza? If the time elapsed between the two calls is over 4ms this will fail Getting a periodic callback depends on your OS. You can get that on Unix systems with a SIGALRM.

See docs.python.org/library/signal.html for more on this. Carefull, though: signals and threads don't mix well You can also look at the sched module from stdlib which integrates well in multithreaded code.

You get errno 22 when you pass a negative argument to time.sleep. What are the values of self. Acaba and self.

Empieza? If the time elapsed between the two calls is over 4ms this will fail. Getting a periodic callback depends on your OS.

You can get that on Unix systems with a SIGALRM. See docs.python.org/library/signal.html for more on this. Carefull, though: signals and threads don't mix well.

You can also look at the sched module from stdlib which integrates well in multithreaded code.

I'll check the value of both, maybe sometimes the running time exceed 4 mili seconds. Usualy it takes 0.00047 seconds to run, but it's not deterministic. I'll check signal too.

Thanks a lot! – Jubeor Jul 18 at 11:38.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions