g_idle_add (signal_parent, NULL);
g_main_loop_run (loop);
+ g_message ("test_child_private: received parent signal");
+
write_or_die (childname,
g_mapped_file_get_contents (map),
g_mapped_file_get_length (map));
error->message);
exit (1);
}
+ g_message ("test_child_private: child spawned");
#ifndef G_OS_WIN32
loop = g_main_loop_new (NULL, FALSE);
g_usleep (2000000);
#endif
+ g_message ("test_child_private: received first child signal");
+
buffer = (gchar *)g_mapped_file_get_contents (map);
buffer[0] = '1';
buffer[1] = '2';
g_usleep (2000000);
#endif
+ g_message ("test_child_private: received second child signal");
+
if (!g_file_get_contents (childname, &buffer, &len, &error))
{
gchar *name;