[openamq-dev] Tutorials

Martin Sustrik sustrik at imatix.com
Wed Sep 5 11:19:37 CEST 2007


Hi Dmitri,

Thanks for the suggestion. We are aware that building shared libraries 
is quite a problem at the moment. We are surely going either to write 
tutorial about how it should be done, or enhance our build system to 
make the shared libraries build effortlessly.

Martin

Dmitri Tsyganov wrote:
> 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
> _______________________________________________
> 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