processes, threads, gtk development, portability on linux and win32
I will try to be as clear as possible. I am developing an application under linux using gtk. There are different gtk programs that can be run standalone. But I want another program to control their switch on/off, ie launch them and kill them at user's request.
1. What would be the "best" way to do so? Using threads or processes?
2. What would be the "best" way to proceed for portability between linux and win32. I read I could use fork and cygwin but I would like to "minimise the dependencies".
Sorry, if there are any mistakes but I am kind of inexperienced in the multithreading programming.