Re: using autorelease in apple's CF

2015-05-12 Thread Luboš Doležel
On 05/12/2015 09:34 AM, Alexey Perevalov wrote: > Hello gnustep developers! > > I'm interesting in using autorelease pool from apple's CF > (http://www.opensource.apple.com/source/CF/, > http://www.opensource.apple.com/source/CFNetwork/). > In gnustep implementation autorelease message ([(object)

Re: using autorelease in apple's CF

2015-05-12 Thread Ivan Vučica
Alexey, To further clarify: - Core Foundation: base libraries exposing a C API that implement strings, arrays, etc. Some free software/open source implementations: Apple's implementation, GNUstep's corebase - Foundation: base libraries exposing an Objective-C API that implement strings, arrays, et

RE: using autorelease in apple's CF

2015-05-12 Thread Alexey Perevalov
anson/CocoaAsyncSocket/blob/master/GCD/GCDAsyncSocket.m with readStream/writeStream. BR, Alexey From: i...@vucica.net Date: Tue, 12 May 2015 21:50:35 +0100 Subject: Re: using autorelease in apple's CF To: lu...@dolezel.info CC: gnustep-dev@gnu.org Alexey, To further clarify:- Core Foundation: base

Re: using autorelease in apple's CF

2015-05-13 Thread David Chisnall
On 13 May 2015, at 07:25, Alexey Perevalov wrote: > > right now it's more clear, I think, due CF function is not automatically put > bridged(or not) objects into autorelease pool, e.g. > CFStreamCreatePairWithSocket, > client should release it manually, like in > https://github.com/robbiehans

RE: using autorelease in apple's CF

2015-05-13 Thread Alexey Perevalov
> Subject: Re: using autorelease in apple's CF > From: thera...@sucs.org > Date: Wed, 13 May 2015 08:52:35 +0100 > CC: i...@vucica.net; lu...@dolezel.info; gnustep-dev@gnu.org > To: alexey.pereva...@hotmail.com > > On 13 May 2015, at 07:25, Alexey Perevalov > w

Re: using autorelease in apple's CF

2015-05-13 Thread David Chisnall
On 13 May 2015, at 09:39, Alexey Perevalov wrote: > > If I truly understand, to place object into autorelease pool need to send > autorelease message [object autorelease], it will release ownership from > client code, > in details, it just send addObject of AutoreleasePool instance, it puts >

RE: using autorelease in apple's CF

2015-05-13 Thread Alexey Perevalov
> Subject: Re: using autorelease in apple's CF > From: thera...@sucs.org > Date: Wed, 13 May 2015 09:51:47 +0100 > CC: gnustep-dev@gnu.org > To: alexey.pereva...@hotmail.com > > On 13 May 2015, at 09:39, Alexey Perevalov > wrote: > > > > If