[openamq-dev] session->alive always 0

Pieter Hintjens ph at imatix.com
Sun Oct 28 09:54:56 CET 2007


Dmitri,

> I think you may be dealing with the the build inconsistency - if you
> built Open AMQ as multi-threaded library, you need to build your code
> with BASE_THREADSAFE defined - that adds additional member (mutex, I
> think) to each structure. Mutex member is deffed-out if you build
> single-threaded version - BASE_THREADSAFE is undefined.

I've started a building faq:
http://wiki.openamq.org/tutorial:building-openamq-faq.  Dmitri, thanks
for this answer.

If anyone has wisdom they'd like to add to this FAQ, drop me a line,
add it as comments to the page, or ask to become an editor of the
wiki...

-Pieter


More information about the openamq-dev mailing list