summaryrefslogtreecommitdiff
path: root/lib/thread.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-02-03 12:22:19 -0500
committerMark Stapp <mjs@voltanet.io>2021-02-09 12:10:51 -0500
commitaea25d1ec828226fa35af1b333d346883deefb28 (patch)
treead76708fce9fb9942e512f3b521f406218f4c21e /lib/thread.h
parentd887c7bf04f08b37ec122587f11cd2079cb22bd7 (diff)
libs: make the task cancellation struct private
No reason for the thread/task cancellation struct to be public: move it out of the header file. Also add a flags field. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/thread.h')
-rw-r--r--lib/thread.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/thread.h b/lib/thread.h
index 6b510fc4c9..b30dd9a727 100644
--- a/lib/thread.h
+++ b/lib/thread.h
@@ -61,12 +61,6 @@ struct fd_handler {
nfds_t copycount;
};
-struct cancel_req {
- struct thread *thread;
- void *eventobj;
- struct thread **threadref;
-};
-
struct xref_threadsched {
struct xref xref;