none
Each Subject instance is using a new thread.

    Question

  • I am using Subject class to do my subscriptions. And I am providing the DefaultScheduler as my scheduler....

    I want Subject class to somehow not create one thread per instance since my application has numerous Subject objects. How can I accomplish that ?


    Fahad

    Sunday, September 08, 2013 7:47 AM

All replies

  • If you dont supply the default scheduler, it want do any scheduling, therefore wont create any threads. 

    I would hazzard to guess that you dont want to be using Subjects anyway and that there is a better way to deal with your problem. If you are happy to share your whole use case, the forum maybe able to help guide you better.

    Regards

    Lee


    Lee Campbell http://LeeCampbell.blogspot.com

    Sunday, September 08, 2013 9:55 PM
  • You just answered my this question Phrased differently on StackOverflow; Not the answer I was looking for though but I do appreciate your effort and input. I added a comment to your answer which gives more detail as to what I am trying to do.

    Fahad

    Sunday, September 08, 2013 11:10 PM