Hi, Sergey!

On Dec 28, Sergey Vojtovich wrote:
> There're 2 searches and 4 unpins in tdc_acquire_share. Let's simplify it a 
> bit:
> 
> retry:
>   while (!search1())
>   {
>     insert();
>     search2();
>     unpin2();
>     return;
>   }
> 
>   if (fastpath_suceeded())
>   {
>     unpin1(); // This is unpin in question, corresponds to search1
>     return;
>   }
> 
>   if (deleted)
>   {
>     unpin1();
>     goto retry;
>   }
>   unpin1();

Ah, okay. Now I see the first lf_hash_search_using_hash_value(). Thanks.

Regards,
Sergei


_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to