atom feed3 messages in com.googlegroups.memcachedRe: can't we delete a item at the lin...
FromSent OnAttachments
Song ZhigangNov 7, 2015 12:34 am 
dormandoNov 18, 2015 12:57 pm 
Song ZhigangNov 18, 2015 5:10 pm 
Subject:Re: can't we delete a item at the link head?
From:Song Zhigang (1005@gmail.com)
Date:Nov 18, 2015 5:10:22 pm
List:com.googlegroups.memcached

Yes, i made a really obvious mistake at that time.

i have understand them now. :)

thanks.

On Thursday, November 19, 2015 at 4:57:58 AM UTC+8, Dormando wrote:

That assert() is checking that the item you're about to link isn't already in there as the head. It's a basic double-linking prevention check.

that code is adding the link, not removing it.

On Sat, 7 Nov 2015, Song Zhigang wrote:

i was reading memcached source code these days. but i got confused at function "do_item_link_q", there is an assert

assert(it != *head);

in this function, is this means that we can't remove a item from the head of the link?

Yours

sidgwick