This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GNU Objective-C runtime support for @synchroni zed()


> I think we should use __thread keyword as the thread local storage if
> the toolchain supports either the emulated version or the native
> version and disable the cache otherwise.

Thanks Andrew

I think it's a good idea - in attach a patch that does it. :-)

The part that I'm mostly concerned about is the configure stuff.  I added GCC_CHECK_TLS
and updated the other files and it all works for me, but may be worth double-checking.

I also want to add some standard basic tests for @synchronized.

Thanks

Attachment: libobjc.sync
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]