Replace threads -> tasks in TODO comments
This commit is contained in:
parent
8103bbcf6a
commit
a9e248da34
10
src/lib.rs
10
src/lib.rs
@ -317,7 +317,7 @@ impl StateResolution {
|
|||||||
|
|
||||||
// TODO: if these functions are ever made async here
|
// TODO: if these functions are ever made async here
|
||||||
// is a good place to yield every once in a while so other
|
// is a good place to yield every once in a while so other
|
||||||
// "threads" can make progress
|
// tasks can make progress
|
||||||
}
|
}
|
||||||
|
|
||||||
// this is used in the `key_fn` passed to the lexico_topo_sort fn
|
// this is used in the `key_fn` passed to the lexico_topo_sort fn
|
||||||
@ -330,7 +330,7 @@ impl StateResolution {
|
|||||||
|
|
||||||
// TODO: if these functions are ever made async here
|
// TODO: if these functions are ever made async here
|
||||||
// is a good place to yield every once in a while so other
|
// is a good place to yield every once in a while so other
|
||||||
// "threads" can make progress
|
// tasks can make progress
|
||||||
}
|
}
|
||||||
|
|
||||||
StateResolution::lexicographical_topological_sort(&graph, |event_id| {
|
StateResolution::lexicographical_topological_sort(&graph, |event_id| {
|
||||||
@ -571,7 +571,7 @@ impl StateResolution {
|
|||||||
|
|
||||||
// TODO: if these functions are ever made async here
|
// TODO: if these functions are ever made async here
|
||||||
// is a good place to yield every once in a while so other
|
// is a good place to yield every once in a while so other
|
||||||
// "threads" can make progress
|
// tasks can make progress
|
||||||
}
|
}
|
||||||
Ok(resolved_state)
|
Ok(resolved_state)
|
||||||
}
|
}
|
||||||
@ -613,7 +613,7 @@ impl StateResolution {
|
|||||||
}
|
}
|
||||||
// TODO: if these functions are ever made async here
|
// TODO: if these functions are ever made async here
|
||||||
// is a good place to yield every once in a while so other
|
// is a good place to yield every once in a while so other
|
||||||
// "threads" can make progress
|
// tasks can make progress
|
||||||
}
|
}
|
||||||
|
|
||||||
let mainline_map = mainline
|
let mainline_map = mainline
|
||||||
@ -645,7 +645,7 @@ impl StateResolution {
|
|||||||
|
|
||||||
// TODO: if these functions are ever made async here
|
// TODO: if these functions are ever made async here
|
||||||
// is a good place to yield every once in a while so other
|
// is a good place to yield every once in a while so other
|
||||||
// "threads" can make progress
|
// tasks can make progress
|
||||||
}
|
}
|
||||||
|
|
||||||
// sort the event_ids by their depth, timestamp and EventId
|
// sort the event_ids by their depth, timestamp and EventId
|
||||||
|
Loading…
x
Reference in New Issue
Block a user