Prototype

This is the general design of what I am planning to implement for the multithreading project and how this will be integrated with our future task manager.

I need to think one step ahead in order to create a more abstract implementation of the multithread to further implement the task manager. Because the signal is a class variable, if there are several instances of the algorithmExecutor running and a signal is emitted, we don’t actually know which instance sent the signal unless we provide ways to know which instance sent the signal (using signals with parameters) and set the progress in the task manager.

The code can be found here

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s