diff options
author | balika011 <balika011@gmail.com> | 2018-10-05 14:51:16 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-05 14:53:01 -0400 |
commit | 1a5d6de0d46371b74828a2582506f1b3b2362589 (patch) | |
tree | 4bbb722ae36f032c031018bf8650bcc3f2cd8faf /src/core/loader/linker.cpp | |
parent | e51d715700a35a8f14e5b804b6f7553c9a40888b (diff) |
thread: Make the scheduler pointer a regular pointer
Conceptually, it doesn't make sense for a thread to be able to persist
the lifetime of a scheduler. A scheduler should be taking care of the
threads; the threads should not be taking care of the scheduler.
If the threads outlive the scheduler (or we simply don't actually
terminate/shutdown the threads), then it should be considered a bug
that we need to fix.
Attributing this to balika011, as they opened #1317 to attempt to fix
this in a similar way, but my refactoring of the kernel code caused
quite a few conflicts.
Diffstat (limited to 'src/core/loader/linker.cpp')
0 files changed, 0 insertions, 0 deletions