tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pserialize-safe queue(3) alternative



Hi,

On 2016/04/08 1:05, Taylor R Campbell wrote:
>    Date: Thu, 7 Apr 2016 17:50:56 +0900
>    From: Kengo NAKAHARA <k-nakahara%iij.ad.jp@localhost>
> 
>    I have a question. It seems that pslist_writer_insert_after() does not
>    change old entry->ple_next->ple_prevp. I think pslist_writer_insert_after()
>    may be only used to add last element. If that is correct, I think
>    "pslist_writer_insert_last" might be better for the function name.
> 
> Oops!  Good catch.  Obviously I need to write some automatic tests for
> this.

I agree. It's nice idea. :)


Thanks,

-- 
//////////////////////////////////////////////////////////////////////
Internet Initiative Japan Inc.

Device Engineering Section,
IoT Platform Development Department,
Network Division,
Technology Unit

Kengo NAKAHARA <k-nakahara%iij.ad.jp@localhost>


Home | Main Index | Thread Index | Old Index