GTlsInteractionClass parent;
} TestInteractionClass;
+static GType test_interaction_get_type (void);
G_DEFINE_TYPE (TestInteraction, test_interaction, G_TYPE_TLS_INTERACTION);
#define TEST_TYPE_INTERACTION (test_interaction_get_type ())
setup_with_thread_loop (Test *test,
gconstpointer user_data)
{
- GError *error = NULL;
ThreadLoop closure;
setup_without_loop (test, user_data);
closure.test = test;
g_mutex_lock (&closure.loop_mutex);
- test->loop_thread = g_thread_create (thread_loop, &closure, TRUE, &error);
+ test->loop_thread = g_thread_new ("loop", thread_loop, &closure);
while (!closure.started)
g_cond_wait (&closure.loop_started, &closure.loop_mutex);
g_mutex_unlock (&closure.loop_mutex);
gint ret;
g_type_init ();
- g_thread_init (NULL);
g_test_init (&argc, &argv, NULL);
fixtures = g_ptr_array_new_with_free_func (g_free);