mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-22 20:15:46 +08:00
Compare commits
1 Commits
hnsw-entry
...
hnsw-entry
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75cf54a1e2 |
@@ -437,7 +437,7 @@ InsertTupleInMemory(HnswBuildState * buildstate, HnswElement element)
|
|||||||
char *base = buildstate->hnswarea;
|
char *base = buildstate->hnswarea;
|
||||||
|
|
||||||
/* Wait if another process needs exclusive lock */
|
/* Wait if another process needs exclusive lock */
|
||||||
if (LWLockAcquireOrWait(entryWaitLock, LW_EXCLUSIVE))
|
LWLockAcquire(entryWaitLock, LW_EXCLUSIVE);
|
||||||
LWLockRelease(entryWaitLock);
|
LWLockRelease(entryWaitLock);
|
||||||
|
|
||||||
/* Get entry point */
|
/* Get entry point */
|
||||||
|
|||||||
Reference in New Issue
Block a user