Skip to content
This repository was archived by the owner on Apr 15, 2018. It is now read-only.

Conversation

@maguro
Copy link

@maguro maguro commented Aug 12, 2016

A potentially "cleaner" implementation of ThreadContext. It centralizes
the management of the ThreadContext without extensive collaboration
and implementation leaks, e.g. checkThread(). A fair bit of code was
removed in the process.

This change is backwards incompatible, hence the major version
bump.

A potentially "cleaner" implementation of ThreadContext.  It centralizes
the management of the ThreadContext without extensive collaboration
and implementation leaks, e.g. checkThread().  A fair bit of code was
removed in the process.

This change is backwards incompatible, hence the major version
bump.
@maguro maguro changed the title Replace CatalystThread with ScheduledExecutorService wrapper Replace CatalystThread with ScheduledExecutorService wrapper Aug 12, 2016
@coveralls
Copy link

coveralls commented Aug 12, 2016

Coverage Status

Coverage remained the same at 47.973% when pulling 6a17f26 on maguro:simplify-threadcontext into 78ba123 on atomix:master.

@kuujo
Copy link
Member

kuujo commented Jan 11, 2017

I know it's been a while. I've been off working on other major projects, but am still very much working on progressing these projects.

So, I think this could be hugely helpful. I'm actually in the process of writing version 2.0 of Copycat and Atomix and I think quite a bit of the code will change to support an HTTP/WebSocket API. So, this should probably become a part of that effort. I'm going to leave this open here and see how we can fit it in.

@maguro
Copy link
Author

maguro commented Jan 11, 2017

Hey, no worries. Re-reading this code, I was thinking that ideally there would be no need for thread locals at all.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants