On Thu, 2009-04-30 at 13:11 -0700, nmittal wrote: > Hi All, in the examples that come with the CMS distribution, I see the > following... > class SimpleProducer: public Runnable > > is there a reason why a producer has to inherit from Runnable. The run() > function is called like any other functions. > > any insight is appreciated. > > thanks > Nishant
It doesn't really have to be, but that code is just a cut and paste from the main example file in src/example/main.cpp. It doesn't hurt anything that it does so it was never removed. Regards Tim -- Tim Bish http://fusesource.com http://timbish.blogspot.com/