Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1614:a0ff85ec0506
Date: 2015-02-09 14:41 +0100
http://bitbucket.org/pypy/stmgc/changeset/a0ff85ec0506/
Log: Kill this, left around by mistake from e0ff682f6615
diff --git a/c7/stm/core.c b/c7/stm/core.c
--- a/c7/stm/core.c
+++ b/c7/stm/core.c
@@ -313,10 +313,6 @@
dprintf(("reset_transaction_read_version: %p %ld\n", readmarkers,
(long)(NB_READMARKER_PAGES * 4096UL)));
- /* see hashtable.c for why we need the privatization lock here
- (grep for reset_transaction_read_version)
- */
- acquire_privatization_lock();
if (mmap(readmarkers, NB_READMARKER_PAGES * 4096UL,
PROT_READ | PROT_WRITE,
MAP_FIXED | MAP_PAGES_FLAGS, -1, 0) != readmarkers) {
@@ -327,7 +323,6 @@
memset(readmarkers, 0, NB_READMARKER_PAGES * 4096UL);
}
STM_SEGMENT->transaction_read_version = 1;
- release_privatization_lock();
}
static uint64_t _global_start_time = 0;
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit