Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

emplace into threadSet #1291

Merged
merged 2 commits into from
May 15, 2015
Merged

emplace into threadSet #1291

merged 2 commits into from
May 15, 2015

Conversation

mikemorris
Copy link
Contributor

Map thread and Main thread should be separated in Mode::Static now

/cc @tmpsantos

@jfirebaugh
Copy link
Contributor

I rebased this on master and it seems to be triggering an assertion failure:

test: ../../src/mbgl/map/map_context.cpp:44: mbgl::MapContext::MapContext(uv_loop_t *, mbgl::View &, mbgl::FileSource &, mbgl::MapData &): Assertion `Environment::currentlyOn(ThreadType::Map)' failed.

@mikemorris
Copy link
Contributor Author

For context, this change is related to https://github.com/mapbox/node-mapbox-gl-native/issues/114, it's quite possible that additional work is needed to resolve the underlying issues.

@tmpsantos tmpsantos self-assigned this May 15, 2015
mikemorris and others added 2 commits May 15, 2015 12:58
Map thread and Main thread should be separated in Mode::Static now
The MapContext can only run on its own thread because it is
registering a EnvironmentScope and it is making many assertions
on Debug mode if its methods are being called on the Map thread.
tmpsantos added a commit that referenced this pull request May 15, 2015
@tmpsantos tmpsantos merged commit c7b513a into master May 15, 2015
@mourner mourner removed the ready label May 15, 2015
@tmpsantos tmpsantos deleted the threadset-emplace branch May 15, 2015 10:23
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.

4 participants