[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] setting bufferevent without heap-allocation



On Thu, Jun 17, 2010 at 2:35 AM, Avi Bab <avib@xxxxxxxxxx> wrote:
>
>
> Hi All,
>
> Is there an option to set up a bufferevent without heap-allocation
> (something like event_assign() for events) ?
>

I'm afraid not; bufferevents need to be able to do heap allocation
internally for their evbuffers, so they don't really support being
stack- or statically- allocated.

yrs,
-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.