Possible incompatibility of GTK 3.22 with Boehm GC (because of threads)
Submitted by Basile Starynkevitch
Link to original bug (#780815)
Description
http://stackoverflow.com/q/43141659/841108 is a better description. I'm summarizing it here.
(Plartform: Debian/Sid/x86-64; GTK is 3.22.11, Glib is 2.50.3)
I'm not sure of a bug. Perhaps it just requires a documentation clarification.
Boehm's GC https://www.hboehm.info/gc/ is requiring that every thread using it should be created with GC_pthread_create....
But it looks that GTK is creating threads (e.g. for DBus stuff, or GtkTextView stuff) "behind my back".
Can I be sure that if I correctly follow the GTK coding rule of only having GTK code called from the main thread, the internal threads never call my routines (e.g. GTK signal slots or GTK methods that I have provided by subclassing GTK classes) which are using GC_malloc ?
struct GMemVTable is deprecated....
Thanks for reading.
Basile Starynkevitch (France) == http://starynkevitch.net/Basile/ email basile at starynkevitch dot net
Version: 3.22.x