Home Forums Software Development [Solved] fixationDataStream.Next without Console.ReadKey ? Reply To: [Solved] fixationDataStream.Next without Console.ReadKey ?

#7126
Dominic Potts
Participant

Hi Alex, Thank you for the response.

I forgot to mention that within the fixationDataStream.Next += (o, fixation) => {…}
section of my code I have some timers running to measure the time between user fixations. Simply sleeping the thread creates a race condition where all the threads are updating the timer simultaneously.

I’ve read the documentation on the tobii github, but I was hoping that you could give me some insight into how this fixationDataStream.Next function works? Or perhaps an alternative to Thread.Sleep?

I really appreciate your help with this.

–Dom