On Tue, Nov 19, 2013 at 2:53 AM, Saúl Ibarra Corretgé <[email protected]>wrote:
> On 11/18/13 10:39 PM, Aaron Boxer wrote: > >> Answering my own question, I suppose I could allocate a fixed buffer and >> set this as the client data when creating the client. >> And when alloc is called, simply return this fixed buffer. >> >> > In pyuv I allocate a static buffer which is reused all the time. You > probably want to have it per loop (I need to change that), to avoid > possible problems if you are using multiple loops in different threads. > > I have vague memories about Bert mentioning that this could be a problem > on Windows, maybe he can clarify. > > Thanks, Saul. I only have a single event loop in my app. -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/groups/opt_out.
