sleeping



Hello again.

I am writing a program to control two steppers. To control its speed, i would need to sleep the function that moves them.
Is it safe to use sleep/nanosleep? or are there safer functions or a better way to do it than a callback from an Entry widget (where i get the command from)? (I was just thinking a long coulback could hang the app, am i right?)

-- 
ICQ: 15605359 Bicho
                                  =^..^=
First, they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Gandhi.
........Por que no pensaran los hombres como los animales? Pink Panther........
-------------------------------気検体の一致------------------------------------
暑さ寒さも彼岸まで。
アン アン アン とっても大好き




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]