From 2e5ae6f0650962db86fcdb1290f9a7c8b07b1410 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 4 Dec 2003 09:52:14 +0000 Subject: * added a debug thread id hook from jim myers * change to select() from sys_select() in events.c, as sys_select() is not thread safe. We need a new unified signal handling scheme for Samba4, but for now just use select() (This used to be commit 126fcd4a76ac029ee4f662ed41b84c791406c324) --- source4/include/debug.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/include/debug.h') diff --git a/source4/include/debug.h b/source4/include/debug.h index 814a79a44b..8c82c73557 100644 --- a/source4/include/debug.h +++ b/source4/include/debug.h @@ -30,6 +30,9 @@ struct debug_ops { /* function to return process/thread id */ uint32 (*get_task_id)(void); + + /* function to log process/thread id */ + void (*log_task_id)(int fd); }; void do_debug(const char *, ...) PRINTF_ATTRIBUTE(1,2); -- cgit