Closed luigidr closed 7 years ago
Generally, it is "better" to prefer the Java Executor to classical Thread.
Executor
Thread
If possible, replace the processFrame thread with an Executor object or with a JavaFX object suitable for concurrency (i.e., from javafx.concurrent).
processFrame
javafx.concurrent
Moved to a ScheduledExecutorService to avoid plain Threads and to limiting any possible side effects of capturing a videostream by a "continuous" while().
ScheduledExecutorService
while()
Closed by 9c41d9323095b4ca7e57abadbfaca5ef0d64760a.
Generally, it is "better" to prefer the Java
Executor
to classicalThread
.If possible, replace the
processFrame
thread with anExecutor
object or with a JavaFX object suitable for concurrency (i.e., fromjavafx.concurrent
).