mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 02:33:07 +02:00
kernel: Remove dependency on CScheduler
By defining a virtual interface class for the scheduler client, users of the kernel can now define their own event consuming infrastructure, without having to spawn threads or rely on the scheduler design. Removing CScheduler also allows removing the thread and exception modules from the kernel library.
This commit is contained in:
@@ -326,6 +326,7 @@ BITCOIN_CORE_H = \
|
||||
util/spanparsing.h \
|
||||
util/string.h \
|
||||
util/syserror.h \
|
||||
util/task_runner.h \
|
||||
util/thread.h \
|
||||
util/threadinterrupt.h \
|
||||
util/threadnames.h \
|
||||
@@ -975,7 +976,6 @@ libbitcoinkernel_la_SOURCES = \
|
||||
pubkey.cpp \
|
||||
random.cpp \
|
||||
randomenv.cpp \
|
||||
scheduler.cpp \
|
||||
script/interpreter.cpp \
|
||||
script/script.cpp \
|
||||
script/script_error.cpp \
|
||||
@@ -992,7 +992,6 @@ libbitcoinkernel_la_SOURCES = \
|
||||
util/batchpriority.cpp \
|
||||
util/chaintype.cpp \
|
||||
util/check.cpp \
|
||||
util/exception.cpp \
|
||||
util/fs.cpp \
|
||||
util/fs_helpers.cpp \
|
||||
util/hasher.cpp \
|
||||
@@ -1003,7 +1002,6 @@ libbitcoinkernel_la_SOURCES = \
|
||||
util/strencodings.cpp \
|
||||
util/string.cpp \
|
||||
util/syserror.cpp \
|
||||
util/thread.cpp \
|
||||
util/threadnames.cpp \
|
||||
util/time.cpp \
|
||||
util/tokenpipe.cpp \
|
||||
|
||||
Reference in New Issue
Block a user