multi-threading is primitive with GTK? are you crazy? if you refer to drawing with Pango, then yes, this must be done in the main thread (when using X11 backend), but locking all of GTK? not true. and anyway, how many different things can an application draw at the same time requiring multi-threadable drawing that will make all the difference? |
Cairo replaced Pango long ago and should be used in newly written code (imho). if multi-threaded drawing makes a difference then this is the way to go, i.e., a solution exists, so why concentrate on the limitations of past implementations that are no longer recommended? |
as far as general multi-threading is concerned, you have no idea what you're talking about. i make use of multi-threading in my GUI's extensively (querying the number of CPU's i have available at program startup, using this info throughout). I have background threads that do all kinds of work, both not related to drawing, as well as drawing preparation. for example, i have one screen of nine panels of by-hand drawings, each requiring its own data to be retrieved from a DB. all calls to the DB are done in separate threads, executing simultaneously, i.e., in parallel. all calls to my DB can be made synchronously or |