[openamq-dev] Regarding amq_client_session_wait
blog
blog at yankeeboysoftware.com
Wed Dec 19 12:32:25 CET 2007
On Wed, 2007-12-19 at 12:25 +0100, Martin Sustrik wrote:
> > The difference is that I can signal the semaphore from elsewhere in my
> > code (or in the case of a named semaphore, from anywhere), and allow the
> > thread to exit cleanly. This would also allow me to close the session
> > and connection properly, and also clean up other resources.
>
> Sure. This is a missing feature. However, allowing amq_client_session
> handle to be used as a file descriptor in select/poll/epoll-like
> functions is much better solution than simple semaphore object.
>
> So, if you are interested in the functionality, go for it! Make a patch
> that will either yield the appropriate file descriptor(s) to the client
> or allow client to add its own file descriptors to amq_client_session's
> pollset.
>
Isn't the source code to the OpenAMQ WireAPI library generated ?
How do I go about changing the way the code is generated ?
> 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