a little suggest about busybee

18 views
Skip to first unread message

李俊良

unread,
Feb 17, 2016, 9:19:40 PM2/17/16
to hyperdex-discuss
#ifdef BUSYBEE_SINGLETHREADED
void
CLASSNAME
:: reset()
{
   
typedef e::nwf_hash_map<uint64_t, uint64_t, hash> chanmap_t;
    m_channels
= new channel[m_channels_sz];


As reset, it's used to destructing before constructing which is m_channels need check not null and delete before new channel[].
Reply all
Reply to author
Forward
0 new messages