Les tops identiques sont lancés simultanément

This commit is contained in:
Tzim 2017-06-30 14:20:53 +02:00
parent 306f835e65
commit 8b13311420
3 changed files with 3 additions and 9 deletions

View file

@ -356,11 +356,9 @@ namespace DMX2
}
}
if (topPresent) {
if (timeStamp > topSuivant) {
while (topPresent && (timeStamp >= topSuivant)) {
LigneSuivante ();
}
}
} finally {
Monitor.Exit (this);
}

View file

@ -208,11 +208,9 @@ namespace DMX2
if (Monitor.TryEnter (this)) {
try {
if (topPresent) {
if (timeStamp > topSuivant) {
while (topPresent &&(timeStamp >= topSuivant)) {
LigneSuivante ();
}
}
} finally {
Monitor.Exit (this);
}

View file

@ -208,11 +208,9 @@ namespace DMX2
if (Monitor.TryEnter (this)) {
try {
if (topPresent) {
if (timeStamp > topSuivant) {
while (topPresent&&(timeStamp >= topSuivant)) {
LigneSuivante ();
}
}
} finally {
Monitor.Exit (this);
}