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,10 +356,8 @@ namespace DMX2
} }
} }
if (topPresent) { while (topPresent && (timeStamp >= topSuivant)) {
if (timeStamp > topSuivant) {
LigneSuivante (); LigneSuivante ();
}
} }
} finally { } finally {
Monitor.Exit (this); Monitor.Exit (this);

View file

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

View file

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