Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable same thread access checker for SendQueue processor #715

Open
RichardHightower opened this issue May 5, 2016 · 0 comments
Open

enable same thread access checker for SendQueue processor #715

RichardHightower opened this issue May 5, 2016 · 0 comments

Comments

@RichardHightower
Copy link
Member


        if (serviceThread.get() !=null && serviceThread.get() == Thread.currentThread()) {
            mgmt.increment(name)

        } else {
            val thread = Thread.currentThread()
            logger.info("Getting called from another thread {} not {}", thread.name, serviceThread.get()?.name ?: "not set")
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant