Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
13 Views

Observer as task_scheduler_init param

A question... why is not the task_scheduler_observer passed as a parameter of the task_scheduler_init?
Why not to put it in this way:

MyObserver o;
task_scheduler_init init;
init.SetObserver(&o);

Other question: can I have several observers running on the task scheduler? Can I have several task schedulers? Are they singletons?

thx
0 Kudos
0 Replies