mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-09 18:54:04 +02:00
Fix up testcase broken due to g_thread_new API change
This commit is contained in:
@@ -236,8 +236,8 @@ test_pipe_io (void)
|
|||||||
reader_cancel = g_cancellable_new ();
|
reader_cancel = g_cancellable_new ();
|
||||||
main_cancel = g_cancellable_new ();
|
main_cancel = g_cancellable_new ();
|
||||||
|
|
||||||
writer = g_thread_new ("writer", writer_thread, NULL, TRUE, NULL);
|
writer = g_thread_new ("writer", writer_thread, NULL);
|
||||||
reader = g_thread_new ("reader", reader_thread, NULL, TRUE, NULL);
|
reader = g_thread_new ("reader", reader_thread, NULL);
|
||||||
|
|
||||||
g_assert (DuplicateHandle (GetCurrentProcess (),
|
g_assert (DuplicateHandle (GetCurrentProcess (),
|
||||||
(HANDLE) (gintptr) _get_osfhandle (writer_pipe[0]),
|
(HANDLE) (gintptr) _get_osfhandle (writer_pipe[0]),
|
||||||
|
Reference in New Issue
Block a user