views:

154

answers:

3

One example could be: RAII - Resource Acquisition is Initialization used with critical sections

Any others that are important, popular and you often use?

+1  A: 

This link mentions quite a few. The Command pattern comes in handy for dispatching requests to threads. Leader/Followers seems to be an interesting pattern as well.

Eric Petroelje
A: 

You can try this also: patterns and idioms

Naveen
A: 

I use message passing, share nothing concurrency both for my current product and for high performance desktop applications I have written in the past. In my experience, its better to avoid shared data synchronization. You can use NamedPipes, window messages or sockets to communicate between threads.

If you do decide to try and syncronize access to shared data, take a look at this topic.

Mo Flanagan