Hi,
I am writing a program which can take input from two seperate windows (although the input from one of the windows is limited to pressing ‘ENTER’ – they are seperate processes created with the ‘fork()’ command), and my problem is the following:
The main process can read/write into a file when buttons in the main window are clicked. When the ENTER key is pressed in the other window/process, a change has to be made to the same file. A signal is then sent by the other window to the main window, which will then handle the writing of the file.
The question is now: Since GTK signals are implemented differently from UNIX signals, how will the program react if a button resulting in a write to file in the main window, is pressed AT EXACTLY THE SAME TIME as the ENTER key is pressed in the other window?