[PD] usleep() equivalent to Sleep() ?

joge . gboy at nycap.rr.com
Sun May 12 19:21:13 CEST 2002


hi all ,

i am trying to compile two externals of yves's on to windows .   there is
one issue with threads [i am using pthreads for maximum unix compatibility]
that i seem to be having though .  there is no usleep() for windows as far
as i can tell .  however i did fine a function called Sleep() .  from my
brief browsing of code on the internet .  i thought the two for the more
part were equivalent in their functionality :  to put a thread/process to
sleep for a specified amount of time .  however , i seem to get *buffer
overruns* when i play with the externs .  everything compiles fine and is
even loaded fine , it seems to be when the external tries to draw to the
screen that i get the buffer overrun .  the externals i am trying to compile
over are sonogram~ 0.9 and cooled~ 0.6 .

thanks .

joge .




More information about the Pd-list mailing list