hey guys, i have a threaded program, i have loop that contunes until i get a kbhit()
then, i playback repetively untill i get another kbhit().
EDIT:
the first kbhit happens on a child thread of the second kbhit, the child thread comes before the loop starts
Problem:
the second kbhit() is always true, there for my
while(!kbhit())
is not working.
any ideas?
then, i playback repetively untill i get another kbhit().
EDIT:
the first kbhit happens on a child thread of the second kbhit, the child thread comes before the loop starts
Problem:
the second kbhit() is always true, there for my
while(!kbhit())
is not working.
any ideas?
Comment