Robert Roessler:

> So - just making an inquiry, not volunteering - why are you not doing
> threading on both Windows and GTK+ (and sharing most of the find
> implementation)?  From the outside, GLib threads look usable enough...
> and they do sort of come bundled under the GTK umbrella, right?

   On Windows, using windows messages implicitly causes
synchronisation when calling Scintilla. There are direct calls but
they are only ever made from the main thread which is also the thread
that Scintilla executes on.
   glib has a global lock but it is not automatically entered from all
events, so code unconcerned with the new thread would have to be
checked. Adding locking to Scintilla's entry point would add overhead
to all clients (or complexity), even the majority that don't use
threads.

   Neil

_______________________________________________
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to