Qt-UI

Mandelbrot Example

Producer Consumer Example | | Job Queue

Another example of queued connections is the Mandelbrot Example.

in this example fractals are computed in a worker thread. The mouse position seeds the fractal iteration. Once a fractal image is finished, the image is passed to the main thread where it is displayed in a window. If another image is requested before the last one is finished, the worker thread is told to cancel it and restart.

Producer Consumer Example | | Job Queue

Options: