summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-02-21 15:22:57 -0800
committerMatt Turner <mattst88@gmail.com>2020-01-13 22:25:39 +0000
commite3f26605d85d987da434640f52646d728f1fe919 (patch)
tree68119fd20f37f1eb40d00f507d1da6bdf395fa6a /os
parentbb405cdc85b6e31c0beef60a07a2cfe5b87dcde6 (diff)
Add ddxInputThread call from os layer into ddx layer
Allows ddx's to run additional code as necessary to set up the input thread. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> (cherry picked from commit 4ad21c3247d98ac6c5ad71fa36be60ed04f7c92c)
Diffstat (limited to 'os')
-rw-r--r--os/inputthread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/inputthread.c b/os/inputthread.c
index 97e59d21f..e6694afda 100644
--- a/os/inputthread.c
+++ b/os/inputthread.c
@@ -318,6 +318,8 @@ InputThreadDoWork(void *arg)
sigfillset(&set);
pthread_sigmask(SIG_BLOCK, &set, NULL);
+ ddxInputThreadInit();
+
inputThreadInfo->running = TRUE;
#if defined(HAVE_PTHREAD_SETNAME_NP_WITH_TID)