createThread and destroyThread should be moved into constructor and destructor #114

Closed
opened 2021-02-18 14:08:10 +00:00 by AlexVdberg · 0 comments
AlexVdberg commented 2021-02-18 14:08:10 +00:00 (Migrated from github.com)

I don't really see a situation where we would want to create/destroy the thread and not the class itself as well.
It would also make it easier to maintain the code if we don't have to remember to run the extra function after/before creating/destroying.

This applies to all stages in the pipeline. (trigger, processor, postProcessor)

I don't really see a situation where we would want to create/destroy the thread and not the class itself as well. It would also make it easier to maintain the code if we don't have to remember to run the extra function after/before creating/destroying. This applies to all stages in the pipeline. (trigger, processor, postProcessor)
Sign in to join this conversation.
No description provided.