More Threaded Cache Loading questions...

  • Thread starter Thread starter Weston Weems
  • Start date Start date
W

Weston Weems

Ok, heres my application lifecycle..

Application_start->spawn thread with fetchcache()
which calls some static business methods to fetch data etc

and while I can tell that the threading there is working,
it appears to still tie up those underlying business
methods. Could it be that my static methods are acting
like singletons of sorts?

Application isnt tied up, as it still serves pages and
such, however if I try to call that fetchcache method, it
waits for the first thread to complete.

Thanks in advance.
 
Static methods ARE singletons...

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
Yes, they are... not what I meant, not singleton, but only
execute the method once at a time?
 
That's correct.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top