diff --git a/src/hnswbuild.c b/src/hnswbuild.c index 9287b41..a9c737c 100644 --- a/src/hnswbuild.c +++ b/src/hnswbuild.c @@ -436,7 +436,7 @@ InsertTupleInMemory(HnswBuildState * buildstate, HnswElement element) int m = buildstate->m; char *base = buildstate->hnswarea; - /* Wait if another process needs exclusive lock */ + /* Wait if another process needs exclusive lock on entry lock */ LWLockAcquire(entryWaitLock, LW_EXCLUSIVE); LWLockRelease(entryWaitLock);