This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/47012] nonatomic Properties behave wrong
- From: "nicola at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Dec 2010 10:56:39 +0000
- Subject: [Bug libobjc/47012] nonatomic Properties behave wrong
- Auto-submitted: auto-generated
- References: <bug-47012-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47012
--- Comment #7 from Nicola Pero <nicola at gcc dot gnu.org> 2010-12-21 10:56:33 UTC ---
Yes, I'll visit Fosdem - let's meet up there.
> In the code you linked, is that objc_mutex_t a spinlock? If not,
> this might be performance problem.
You are right, it's a normal lock. Currently, libobjc just uses plain mutex
locks everywhere. We should improve on that in GCC 4.7 - there's lot that
can be done.
Thanks