Re: [PATCH v2 02/14] commit-slab: support shared commit-slab

2018-05-13 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > define_shared_commit_slab() could be used in a header file to define a > commit-slab. One of these C files must include commit-slab-impl.h and > "call" implement_shared_commit_slab(). > > Signed-off-by: Nguyễn Thái Ngọc Duy >

[PATCH v2 02/14] commit-slab: support shared commit-slab

2018-05-12 Thread Nguyễn Thái Ngọc Duy
define_shared_commit_slab() could be used in a header file to define a commit-slab. One of these C files must include commit-slab-impl.h and "call" implement_shared_commit_slab(). Signed-off-by: Nguyễn Thái Ngọc Duy --- commit-slab-hdr.h | 13 +