Mercurial > hg > Database > Alice
changeset 186:91b6251ef6c8 working
remove synchronized
author | e095732 |
---|---|
date | Thu, 07 Mar 2013 02:21:19 +0900 |
parents | 094d8fa4945e |
children | 95e09be8be69 |
files | src/alice/datasegment/DataSegmentKey.java |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alice/datasegment/DataSegmentKey.java Wed Mar 06 16:42:05 2013 +0900 +++ b/src/alice/datasegment/DataSegmentKey.java Thu Mar 07 02:21:19 2013 +0900 @@ -78,8 +78,6 @@ break; } boolean waitFlag = true; - - synchronized(dataList){ for (Iterator<DataSegmentValue> iter = dataList.iterator(); iter.hasNext(); ) { DataSegmentValue data = iter.next(); if (data.index > cmd.index) { @@ -93,11 +91,11 @@ break; } } - } if (waitFlag) waitList.add(cmd); break; case FLIP: + break; case REMOVE: // TODO: implements later