Thread: Stacks
View Single Post
  #15 (permalink)  
Old 05-05-2008, 09:10 AM
danielstoner's Avatar
danielstoner danielstoner is offline
Senior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 183
danielstoner is on a distinguished road
As an example just think about two threads:
- thread one is using the stack in a classical way pushing and popping values on the stack
-thread two monitors the stack and it is notified whenever the stack changes; when the stack changes it will go and calculate statistics about the stack content

These two threads use the stack in different ways: one as stack, the other as a list.
__________________
Daniel @ [
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Language is froth on the surface of thought
Reply With Quote