mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Updated comment [skip ci]
This commit is contained in:
@@ -436,7 +436,7 @@ InsertTupleInMemory(HnswBuildState * buildstate, HnswElement element)
|
|||||||
int m = buildstate->m;
|
int m = buildstate->m;
|
||||||
char *base = buildstate->hnswarea;
|
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);
|
LWLockAcquire(entryWaitLock, LW_EXCLUSIVE);
|
||||||
LWLockRelease(entryWaitLock);
|
LWLockRelease(entryWaitLock);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user