From: Nicholas N. <nj...@ca...> - 2003-06-19 17:18:17
|
On Thu, 19 Jun 2003 Sun...@ut... wrote: > Is there a way to have Valgrind allow for user interactivity? Basically I > have a threaded app, with the main function in a loop, looking for gets(). > A menu is provided to the user if any key is entered, and further input is > received from this point onwards (basically in the form of a question). The > other threads use the values from the interactive menu/user input for > processing. > > I could not get Valgrind to allow for the user input portion - rather the > process starts, and all user input causes the app to not proceed. Valgrind should cope fine in this situation. It might be a bug that's causing the problem, but you'll have to give us more information to be able to tell. If you can strip your program down to a small example that exhibits the problem, even better. N |