After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685139 - GLib.Once and bit locking bindings are missing
GLib.Once and bit locking bindings are missing
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: Bindings: GLib
unspecified
Other All
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-30 11:50 UTC by Tal
Modified: 2014-01-25 07:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tal 2012-09-30 11:50:53 UTC
After looking on this page:
http://developer.gnome.org/glib/2.31/glib-Threads.html
I see that those useful thread-safe binding are missing:
* GLib.Once namespace and its methods.
* g_bit_lock, g_bit_try_lock and g_bit_unlock in GLib.AtomicInt
* g_pointer_lock, g_pointer_try_lock and g_pointer_unlock in GLib.AtomicPointer
 
Please fix them on the next release.
 
Yours
Tal
Comment 1 Evan Nemerson 2013-02-19 07:26:16 UTC
For GOnce, I don't see a reasonable way to bind it, but there is already a bug requesting built-in support: https://bugzilla.gnome.org/show_bug.cgi?id=627293
Comment 2 Evan Nemerson 2014-01-25 07:29:55 UTC
Fixed in bug 627293.