1
0
Fork 0
forked from eden-emu/eden

Revert "core: Switch to unique_ptr for usage of Common::Fiber."

This commit is contained in:
bunnei 2021-03-05 17:08:17 -08:00 committed by GitHub
parent 9d010be483
commit a5ab85ac37
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 59 additions and 58 deletions

View file

@ -83,7 +83,7 @@ private:
void RunThread(std::size_t core);
struct CoreData {
std::unique_ptr<Common::Fiber> host_context;
std::shared_ptr<Common::Fiber> host_context;
std::unique_ptr<Common::Event> enter_barrier;
std::unique_ptr<Common::Event> exit_barrier;
std::atomic<bool> is_running;