Christopher Wright, el 6 de diciembre a las 09:06 me escribiste: > Fawzi Mohamed wrote: > >So yes one could probably switch back to the old Phobos style. > >I would guess that it is not really a common situation for a program to > >become single threaded again, though... > >Fawzi > > At work, we have a single-threaded application -- everything happens on the > GUI thread. There are some operations that take a long time, though. For > those, we > throw up a spinny dialog box. But if these operations happened on the GUI > thread, the spinny dialog box would not spin. So we do the expensive > operations on a > background thread. > > So, our application becomes multithreaded on rare occasions and becomes > single-threaded again after. > > Not sure how common this is.
I think this is pretty common in GUI applications, but I don't think GUI applications usually are performance critical, right? -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------------- You can do better than me. You could throw a dart out the window and hit someone better than me. I'm no good! -- George Constanza
