[openamq-dev] Tutorials

Dmitri Tsyganov dmitri.tsyganov at dowjones.com
Tue Sep 4 21:12:09 CEST 2007


Hello Martin,

Grate initiative, I think it will be very useful!

I have one suggestion and it probably belongs to building instructions.

When you build your project (a library in my case), you need to make
sure that BASE_THREADSAFE is definde IF OpenAMQ was built as a multi-
threaded library BOOM_BASE=mt,...

You should not define BASE_THREADSAFE if OpenAMQ built as single-
threaded.

BASE_THREADSAFE, if not in sync with OpenAMQ build, makes some
structures binary incompatible - threaded version has critical section
member that is #ifdef-ed-out  in single-threaded case. This may lead to
some interesting runtime surprises.

Thank you,

Dmitri

On Tue, 2007-09-04 at 19:02 +0200, Martin Sustrik wrote:
> Hi all,
> 
> I've started to write OpenAMQ tutorials to facilitate adoption of the 
> product. First one is already here:
> 
> http://wiki.openamq.org/tutorials:main
> 
> I would appreciate any kind of input or feedback. Is the tutorial clear? 
> If not, what's missing? What other tutorial you would like to see? etc.
> 
> Thanks for help.
> Martin
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev


More information about the openamq-dev mailing list