Click to See Complete Forum and Search --> : Thread and GUI


mamut
April 2nd, 2004, 04:18 AM
I intend to write an Win32 application that contains two threads. Each thread has its own message dispatching loop and creates windows independantly with the other. Is it safe?

Andreas Masur
April 2nd, 2004, 06:37 AM
Well...first of all...why do you think you need to use two threads?

Sam Hobbs
April 2nd, 2004, 07:59 PM
I am not an expert but as far as I know it will work. However your description is very general of course. If you have any specific concerns then there might be a problem we have not thought of.

mamut
April 4th, 2004, 11:33 PM
Because the program will be developed by two programmers, but he and I have differrent core libs and cannot agree with each other about the frame, so we intend to perform a composition rather than an integration :D