/*
* Copyright (C) 2019 OpenCog Foundation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published by the Free Software Foundation and including the exceptions
* at http://opencog.org/wiki/Licenses
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*/
#include "FrameStack.h"
namespace opencog {
// Thread-local current atomspace
thread_local AtomSpacePtr current_frame;
// Thread-local stack of pushed atomspaces
thread_local std::deque<PushEntry> pushed_stack;
}