> Revision: 19166
> Log Message:
> Made some improvement and documentation about situation of
> Thread.interrupt() before or while EditBus.send() from non-AWT threads.
> The problem was found during investigation of SF.net plugin bug
> + * NOTE: If the calling thread is not the AWT thread and the
> + * thread is interrupted before or while the call of this
> + * method, this method can return before completion of handlers.
> + * However, the interruption state is set in this case, so the
> + * caller can detect the interruption after the call. If you
> + * really need the completion of handlers, you should make sure
> + * the call is in the AWT thread or the calling thread is never
> + * interrupted. If you don't care about the completion of
> + * handlers, it is recommended to use sendAsync() instead.
> + *
> * @param message The message
> public static void send(EBMessage message)
Could you please verify this is a correct analysis and an small
I hope you can figure out a solution instead of just a documentation
about the problem.
If it's OK, I'll submit this as a merge request for 4.4.x, assuming
you will accept soon.