OSDN Git Service
(root)
/
fooeditengine
/
FooEditEngine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0303dbc
)
未使用プロパティを削除した
author
test
<test@yahoo.co.jp>
Sat, 19 Dec 2020 03:55:53 +0000
(12:55 +0900)
committer
test
<test@yahoo.co.jp>
Sat, 19 Dec 2020 03:55:53 +0000
(12:55 +0900)
Core/StringBuffer.cs
patch
|
blob
|
history
diff --git
a/Core/StringBuffer.cs
b/Core/StringBuffer.cs
index
0ab830c
..
58953ef
100644
(file)
--- a/
Core/StringBuffer.cs
+++ b/
Core/StringBuffer.cs
@@
-41,7
+41,6
@@
namespace FooEditEngine
{
GapBuffer<char> buf = new GapBuffer<char>();
const int MaxSemaphoreCount = 1;
- SemaphoreSlim Semaphore = new SemaphoreSlim(MaxSemaphoreCount);
AsyncReaderWriterLock rwlock = new AsyncReaderWriterLock();
public StringBuffer()
@@
-49,17
+48,6
@@
namespace FooEditEngine
this.Update = (s, e) => { };
}
- /// <summary>
- /// ロック中なら真を返し、そうでないなら偽を返す
- /// </summary>
- public bool IsLocked
- {
- get
- {
- return this.Semaphore.CurrentCount == 0;
- }
- }
-
public StringBuffer(StringBuffer buffer)
: this()
{