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: PATCH: Merge objc-improvements-branch to mainline


> It's '@synchronized' (sorry, couldn't resist :-) ), and it currently 

Ah well, another one to add to the list of "things to edit before typing
make the second time" along witn NSColour -> NSColor then :-)

> only works
> with the NeXT runtime (i.e., on Darwin systems).

...because you can guarantee what threads library you will be linking against
preseumably ? On systems with more than one threads library then I guess
aany implementation in libobjc is going to have to specify what threads
library it neeeds linking against to work I guess (or at least say that it
links to a library providing a certain call for thread locking and
waiting primitves).

Actually that change looks quite nice, though having thread primitives
in a language which is completely unaware of threads in all other
ways seeems a bit odd. You wernt tempted to add in a few extra bits of
syntax to support parallelism in the language itself at all were you ?

-bat.


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