task: get rid of the insert_task method

Nothing calls it (not even tests), and there's significant functional
overlap with `try_lock`.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell committed 2025-01-11 23:39:55 -05:00
1 Ursprung 2f2a68be3d
Commit 8bc90b743b
2 Dateien geändert
-18

Keine Dateien entsprechen Ihrer Suche

-3
Datei anzeigen
@@ -172,9 +172,6 @@ namespace crucible {
/// objects it holds, and exit its Task function.
ExclusionLock try_lock(const Task &task);
/// Execute Task when Exclusion is unlocked (possibly
/// immediately).
void insert_task(const Task &t);
};
/// Wrapper around pthread_setname_np which handles length limits