On 4/2/2010 1:02 PM, Knowledge Seeker wrote: > Crux of the discussion ....Thread is needed where one thinks that a > aysnc-operation is needed . > In stone-age one used 'interrupts' for this. Right ?. These days one > uses a 'watcher-thread' ....... >
Stone age indeed. Interrupts are still used heavily, but high level languages abstract all that stuff away. You can create threads that monitor queues, where locking and synchronization is built in. You just call one or two methods and you have your data. Interrupts, mutexes, etc. are all taken care of. Why worry about them? -- John Gaughan http://www.johngaughan.net/
