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 691028 - context: Don't use a static mutex
context: Don't use a static mutex
Status: RESOLVED FIXED
Product: gjs
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2013-01-02 18:25 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2013-01-02 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
context: Don't use a static mutex (1.79 KB, patch)
2013-01-02 18:25 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2013-01-02 18:25:08 UTC
GMutex works just as well, and isn't deprecated.
Comment 1 Jasper St. Pierre (not reading bugmail) 2013-01-02 18:25:10 UTC
Created attachment 232551 [details] [review]
context: Don't use a static mutex
Comment 2 Giovanni Campagna 2013-01-02 18:32:59 UTC
Review of attachment 232551 [details] [review]:

This "thread safety" is slightly ridiculous, but ok.
Comment 3 Jasper St. Pierre (not reading bugmail) 2013-01-02 18:40:36 UTC
Attachment 232551 [details] pushed as 3149b9c - context: Don't use a static mutex


I agree, but I wasn't going to take the time to dig into the code
when I could easily replace it.