Exported activeTaskProcessor function to a public header file.