title: Static FIFO queue with timer c#
body: <p>I have a .NET 4.0 ASP.NET project which requires some threading work I've never really messed with before and I've been looking at this for days and I'm still clueless =/</p>
  
  <p>Basically I want something like when you take a ticket at the deli and wait your turn before they get back to you.  I'll try and relate this and see if it makes any sense...</p>
  
  <p>function starts ---> gets to section where it needs to "take a ticket" (I assume queue some type of item in a blockingcollection) and waits until other "tickets" (a.k.a other instances of the same function) are completed before it gives the function the OK to resume (blocking collection gets to the item in the queue) ---> finish function.</p>
  
  <p>I don't need/want to do any work in the queue, I just want the function to statically wait it's turn among other instances of the function. Does that make sense?  Is that possible?  </p>
  
  <p>Please provide code if possible as I've seen tons of examples but none of them make sense/don't do what I want.</p>