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 663197 - Deprecated code generated for lock keyword
Deprecated code generated for lock keyword
Status: RESOLVED DUPLICATE of bug 662810
Product: vala
Classification: Core
Component: Code Generator
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-01 21:10 UTC by Evan Nemerson
Modified: 2011-11-05 10:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Evan Nemerson 2011-11-01 21:10:27 UTC
With glib >= 2.31, there are a bunch of changes to locks which mean that the code valac generates for the lock keyword is deprecated. Some basic info is in the glib NEWS file (http://git.gnome.org/browse/glib/tree/NEWS)

When targeting glib >= 2.31, valac should use the new GRecMutex and only use APIs that aren't deprecated.

(This bug is only for the lock keyword, not the bindings. Figuring out how to get the bindings right while maintaining backwards compatibility is a separate issue.)
Comment 1 Luca Bruno 2011-11-05 10:50:51 UTC

*** This bug has been marked as a duplicate of bug 662810 ***