fix: typo (#61)
This commit is contained in:
@@ -173,7 +173,7 @@ pub struct MiniLsm {
|
|||||||
pub(crate) inner: Arc<LsmStorageInner>,
|
pub(crate) inner: Arc<LsmStorageInner>,
|
||||||
/// Notifies the L0 flush thread to stop working. (In week 1 day 6)
|
/// Notifies the L0 flush thread to stop working. (In week 1 day 6)
|
||||||
flush_notifier: crossbeam_channel::Sender<()>,
|
flush_notifier: crossbeam_channel::Sender<()>,
|
||||||
/// The handle for the compaction thread. (In week 1 day 6)
|
/// The handle for the flush thread. (In week 1 day 6)
|
||||||
flush_thread: Mutex<Option<std::thread::JoinHandle<()>>>,
|
flush_thread: Mutex<Option<std::thread::JoinHandle<()>>>,
|
||||||
/// Notifies the compaction thread to stop working. (In week 2)
|
/// Notifies the compaction thread to stop working. (In week 2)
|
||||||
compaction_notifier: crossbeam_channel::Sender<()>,
|
compaction_notifier: crossbeam_channel::Sender<()>,
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ pub struct MiniLsm {
|
|||||||
pub(crate) inner: Arc<LsmStorageInner>,
|
pub(crate) inner: Arc<LsmStorageInner>,
|
||||||
/// Notifies the L0 flush thread to stop working. (In week 1 day 6)
|
/// Notifies the L0 flush thread to stop working. (In week 1 day 6)
|
||||||
flush_notifier: crossbeam_channel::Sender<()>,
|
flush_notifier: crossbeam_channel::Sender<()>,
|
||||||
/// The handle for the compaction thread. (In week 1 day 6)
|
/// The handle for the flush thread. (In week 1 day 6)
|
||||||
flush_thread: Mutex<Option<std::thread::JoinHandle<()>>>,
|
flush_thread: Mutex<Option<std::thread::JoinHandle<()>>>,
|
||||||
/// Notifies the compaction thread to stop working. (In week 2)
|
/// Notifies the compaction thread to stop working. (In week 2)
|
||||||
compaction_notifier: crossbeam_channel::Sender<()>,
|
compaction_notifier: crossbeam_channel::Sender<()>,
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ pub struct MiniLsm {
|
|||||||
pub(crate) inner: Arc<LsmStorageInner>,
|
pub(crate) inner: Arc<LsmStorageInner>,
|
||||||
/// Notifies the L0 flush thread to stop working. (In week 1 day 6)
|
/// Notifies the L0 flush thread to stop working. (In week 1 day 6)
|
||||||
flush_notifier: crossbeam_channel::Sender<()>,
|
flush_notifier: crossbeam_channel::Sender<()>,
|
||||||
/// The handle for the compaction thread. (In week 1 day 6)
|
/// The handle for the flush thread. (In week 1 day 6)
|
||||||
flush_thread: Mutex<Option<std::thread::JoinHandle<()>>>,
|
flush_thread: Mutex<Option<std::thread::JoinHandle<()>>>,
|
||||||
/// Notifies the compaction thread to stop working. (In week 2)
|
/// Notifies the compaction thread to stop working. (In week 2)
|
||||||
compaction_notifier: crossbeam_channel::Sender<()>,
|
compaction_notifier: crossbeam_channel::Sender<()>,
|
||||||
|
|||||||
Reference in New Issue
Block a user