Skip to content

Commit

Permalink
Lower GLIBCXX required version
Browse files Browse the repository at this point in the history
By dropping this unneeded function call we can use glibcxx >=3.4.9
instead of >=3.4.20.
  • Loading branch information
laverdet committed Aug 30, 2018
1 parent 41802c9 commit cfa0f3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coroutine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ void Coroutine::trampoline(void* that) {
#endif
if (!fls_data_pool.empty()) {
pthread_setspecific(thread_data_key, fls_data_pool.back());
pthread_setspecific(thread_id_key, fls_data_pool.at(fls_data_pool.size() - 2));
pthread_setspecific(isolate_key, fls_data_pool.at(fls_data_pool.size() - 3));
pthread_setspecific(thread_id_key, fls_data_pool[fls_data_pool.size() - 2]);
pthread_setspecific(isolate_key, fls_data_pool[fls_data_pool.size() - 3]);
fls_data_pool.resize(fls_data_pool.size() - 3);
}
while (true) {
Expand Down

0 comments on commit cfa0f3f

Please sign in to comment.