<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glib.git/tests/thread-test.c, branch require-python34</title>
<subtitle>gitlab.gnome.org: GNOME/glib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/'/>
<entry>
<title>thread-test: Fix leaks in tests</title>
<updated>2013-11-10T21:44:12+00:00</updated>
<author>
<name>Stef Walter</name>
<email>stefw@gnome.org</email>
</author>
<published>2013-11-09T19:51:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=e8cc0966d4a2fb3cf059122b4a4b9479e25604e4'/>
<id>e8cc0966d4a2fb3cf059122b4a4b9479e25604e4</id>
<content type='text'>
This is a test of deprecated functionality and its age is
showing. Doesn't actually do what it says. But fix leaks anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=711751
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a test of deprecated functionality and its age is
showing. Doesn't actually do what it says. But fix leaks anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=711751
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove a bunch of lingering g_thread_init()</title>
<updated>2013-06-01T03:03:19+00:00</updated>
<author>
<name>Ryan Lortie</name>
<email>desrt@desrt.ca</email>
</author>
<published>2013-05-30T04:04:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=210b1f8b4230b881d1c2e4a9e7dac571c967e091'/>
<id>210b1f8b4230b881d1c2e4a9e7dac571c967e091</id>
<content type='text'>
After this patch, there is but one remaining use of g_thread_init(),
which is in tests/slice-threadinit.c, a testcase dedicated to testing
the functionality of gslice across a g_thread_init() boundary.

This testcase is pretty meaningless these days... probably we should
delete it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After this patch, there is but one remaining use of g_thread_init(),
which is in tests/slice-threadinit.c, a testcase dedicated to testing
the functionality of gslice across a g_thread_init() boundary.

This testcase is pretty meaningless these days... probably we should
delete it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix more warning-addition fallout</title>
<updated>2012-11-02T16:27:19+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-11-02T15:45:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=837db1a026a451f2785be18593bf3fa631acabd6'/>
<id>837db1a026a451f2785be18593bf3fa631acabd6</id>
<content type='text'>
I'm normally a big fan of small atomic commits, but I also want to get
things done this afternoon...

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687441
Reviewed-by: Colin Walters &lt;walters@verbum.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm normally a big fan of small atomic commits, but I also want to get
things done this afternoon...

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687441
Reviewed-by: Colin Walters &lt;walters@verbum.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove g_mutex_new()/g_cond_new() in testcases</title>
<updated>2011-10-04T23:35:27+00:00</updated>
<author>
<name>Ryan Lortie</name>
<email>desrt@desrt.ca</email>
</author>
<published>2011-10-04T23:04:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=6f343ca548af912e7ea6b0a35f5e12c8cb820126'/>
<id>6f343ca548af912e7ea6b0a35f5e12c8cb820126</id>
<content type='text'>
These were the last users of the dynamic allocation API.

Keep the uses in glib/tests/mutex.c since this is actually meant to test
the API (which has to continue working, even if it is deprecated).

https://bugzilla.gnome.org/show_bug.cgi?id=660739
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These were the last users of the dynamic allocation API.

Keep the uses in glib/tests/mutex.c since this is actually meant to test
the API (which has to continue working, even if it is deprecated).

https://bugzilla.gnome.org/show_bug.cgi?id=660739
</pre>
</div>
</content>
</entry>
<entry>
<title>locks: drop _INIT macros</title>
<updated>2011-10-03T02:33:10+00:00</updated>
<author>
<name>Ryan Lortie</name>
<email>desrt@desrt.ca</email>
</author>
<published>2011-10-03T00:51:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=2a677d1370a1983c2c5e1a4a6dd5f0d9fa9868b3'/>
<id>2a677d1370a1983c2c5e1a4a6dd5f0d9fa9868b3</id>
<content type='text'>
All locks are now zero-initialised, so we can drop the G_*_INIT macros
for them.

Adjust various users around GLib accordingly and change the docs.

https://bugzilla.gnome.org/show_bug.cgi?id=659866
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All locks are now zero-initialised, so we can drop the G_*_INIT macros
for them.

Adjust various users around GLib accordingly and change the docs.

https://bugzilla.gnome.org/show_bug.cgi?id=659866
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop using GStaticMutex in two testcases</title>
<updated>2011-09-21T20:06:53+00:00</updated>
<author>
<name>Ryan Lortie</name>
<email>desrt@desrt.ca</email>
</author>
<published>2011-09-17T23:33:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=c33cd007398cfc81a9405b95280e99a231f58ff8'/>
<id>c33cd007398cfc81a9405b95280e99a231f58ff8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make threads mandatory</title>
<updated>2011-09-09T16:41:55+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@gnome.org</email>
</author>
<published>2011-08-31T18:01:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=5bc7729d16b641022f5eb8a4022515a163063ce9'/>
<id>5bc7729d16b641022f5eb8a4022515a163063ce9</id>
<content type='text'>
G_THREADS_ENABLED still exists, but is always defined. It is still
possible to use libglib without threads, but gobject (and everything
above it) is now guaranteed to be using threads (as, in fact, it was
before, since it was accidentally impossible to compile with
--disable-threads).

https://bugzilla.gnome.org/show_bug.cgi?id=616754
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
G_THREADS_ENABLED still exists, but is always defined. It is still
possible to use libglib without threads, but gobject (and everything
above it) is now guaranteed to be using threads (as, in fact, it was
before, since it was accidentally impossible to compile with
--disable-threads).

https://bugzilla.gnome.org/show_bug.cgi?id=616754
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the tests silent on success.</title>
<updated>2005-07-14T05:20:14+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2005-07-14T05:20:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=7221f500f53591f980fbb2368c7eaa7f9beb6f27'/>
<id>7221f500f53591f980fbb2368c7eaa7f9beb6f27</id>
<content type='text'>
2005-07-14  Matthias Clasen  &lt;mclasen@redhat.com&gt;

	* tests/spawn-test.c:
	* tests/uri-test.c:
	* tests/thread-test.c:
	* tests/queue-test.c:
	* tests/mainloop-test.c:
	* tests/iochannel-test.c:
	* tests/gio-test.c:
	* tests/child-test.c: Make the tests silent on success.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2005-07-14  Matthias Clasen  &lt;mclasen@redhat.com&gt;

	* tests/spawn-test.c:
	* tests/uri-test.c:
	* tests/thread-test.c:
	* tests/queue-test.c:
	* tests/mainloop-test.c:
	* tests/iochannel-test.c:
	* tests/gio-test.c:
	* tests/child-test.c: Make the tests silent on success.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use GUINT_TO_POINTER for g_thread_create data.</title>
<updated>2003-11-18T01:29:36+00:00</updated>
<author>
<name>Manish Singh</name>
<email>yosh@gimp.org</email>
</author>
<published>2003-11-18T01:29:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=2b789552985c20a19f8450cfe6afd057b550bfe1'/>
<id>2b789552985c20a19f8450cfe6afd057b550bfe1</id>
<content type='text'>
Mon Nov 17 17:28:10 2003  Manish Singh  &lt;yosh@gimp.org&gt;

        * tests/thread-test.c (test_g_thread_once): Use GUINT_TO_POINTER
        for g_thread_create data.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mon Nov 17 17:28:10 2003  Manish Singh  &lt;yosh@gimp.org&gt;

        * tests/thread-test.c (test_g_thread_once): Use GUINT_TO_POINTER
        for g_thread_create data.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support for one-time initialization functions. (#69668, Sebastian</title>
<updated>2003-07-08T23:43:48+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>maclas@gmx.de</email>
</author>
<published>2003-07-08T23:43:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=876f9078636e9543a3fec402f13a00dca2af9f41'/>
<id>876f9078636e9543a3fec402f13a00dca2af9f41</id>
<content type='text'>
2003-07-09  Matthias Clasen  &lt;maclas@gmx.de&gt;

	Support for one-time initialization functions.  (#69668, Sebastian Wilhelmi)

	* configure.in: Check whether double checked locking is safe, define g_once() in
	glibconfig.h accordingly.
	* glib/gthread.h: Add GOnce, GOnceStatus, G_ONCE_INIT and g_once_impl.
	* glib/gthread.c (g_once_impl): Fallback implementation using a mutex if double checked
	locking is unsafe.
	* tests/thread-test.c: Add tests for g_once().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2003-07-09  Matthias Clasen  &lt;maclas@gmx.de&gt;

	Support for one-time initialization functions.  (#69668, Sebastian Wilhelmi)

	* configure.in: Check whether double checked locking is safe, define g_once() in
	glibconfig.h accordingly.
	* glib/gthread.h: Add GOnce, GOnceStatus, G_ONCE_INIT and g_once_impl.
	* glib/gthread.c (g_once_impl): Fallback implementation using a mutex if double checked
	locking is unsafe.
	* tests/thread-test.c: Add tests for g_once().
</pre>
</div>
</content>
</entry>
</feed>
