Ryan Lortie
430c5635f2
g_thread_new: never fail
...
Remove the GError argument from g_thread_new() and abort on failure.
Introduce g_thread_try() for those who want to handle failure.
2011-10-13 01:00:57 -04:00
Ryan Lortie
015f4b4513
thread: nuke the concept of 'joinable'
...
And remove the 'joinable' argument from g_thread_new() and
g_thread_new_full().
Change the wording in the docs. Clarify expectations for
(deprecated) g_thread_create().
2011-10-13 00:43:33 -04:00
Matthias Clasen
93e49aea1b
Don't use deprecated GThread API in gio tests
2011-10-10 09:49:50 -04:00
Dan Winship
16bafb4799
GSocketClient: add a timeout property
...
GSocket has a timeout flag now, but when using GSocketClient there was
no way to set the timeout until after connecting (or failing). Fix
that by adding a timeout property to GSocketClient.
2010-08-14 15:26:16 -04:00
Dan Winship
45067ab9e9
Fix leaks in GSocketClient and GThreadedResolver
...
Also update gio/tests/send-data.c to test async connection, and free
more stuff in several tests to make leaks easier to see.
2009-07-23 16:27:01 -04:00
Matthias Clasen
5694ab7642
Revert "Move gio tests from gio/tests/ to tests/gio/"
...
This reverts commit 2262d76b33
.
Move GIO tests back to where they belong.
2009-07-05 22:49:24 -04:00
Benjamin Otte
2262d76b33
Move gio tests from gio/tests/ to tests/gio/
...
This avoids getting tests built every time when working on libgio and
running make in the gio/ directory.
2009-07-01 19:03:19 +02:00
Alexander Larsson
053f9e72b1
Add support for graceful disconnect to GTcpConnection
2009-05-20 11:19:47 +02:00
Alexander Larsson
fdfdec36d0
Add send-data, a g_socket_client test case
2009-05-19 13:44:11 +02:00