init a few more types directly
threadstate objects inited during startup, since they can (potentially) be built from threads
This commit is contained in:
parent
6c6eb3a2b2
commit
76ec6d5a8a
31
libvips.supp
31
libvips.supp
@ -396,3 +396,34 @@
|
||||
fun:rb_enc_str_new
|
||||
}
|
||||
|
||||
|
||||
# helgrind stuff
|
||||
|
||||
{
|
||||
helgrind1
|
||||
Helgrind:Race
|
||||
fun:g_thread_proxy
|
||||
...
|
||||
fun:start_thread
|
||||
fun:clone
|
||||
}
|
||||
|
||||
{
|
||||
helgrind2
|
||||
Helgrind:Race
|
||||
fun:strlen
|
||||
fun:pthread_setname_np
|
||||
fun:g_system_thread_set_name
|
||||
fun:g_thread_proxy
|
||||
...
|
||||
fun:start_thread
|
||||
fun:clone
|
||||
}
|
||||
|
||||
# g_private*_() triggers a lot of warnings :(
|
||||
{
|
||||
helgrind3
|
||||
Helgrind:Race
|
||||
fun:g_private_set
|
||||
fun:vips_thread_run
|
||||
}
|
||||
|
@ -258,6 +258,9 @@ int
|
||||
vips_init( const char *argv0 )
|
||||
{
|
||||
extern GType vips_system_get_type( void );
|
||||
extern GType write_thread_state_get_type( void );
|
||||
extern GType sink_memory_thread_state_get_type( void );
|
||||
extern GType render_thread_state_get_type( void );
|
||||
|
||||
static gboolean started = FALSE;
|
||||
static gboolean done = FALSE;
|
||||
@ -360,6 +363,9 @@ vips_init( const char *argv0 )
|
||||
*/
|
||||
(void) vips_image_get_type();
|
||||
(void) vips_region_get_type();
|
||||
(void) write_thread_state_get_type();
|
||||
(void) sink_memory_thread_state_get_type();
|
||||
(void) render_thread_state_get_type();
|
||||
vips__meta_init_types();
|
||||
vips__interpolate_init();
|
||||
im__format_init();
|
||||
|
Loading…
Reference in New Issue
Block a user