diff options
author | Daniel Zaoui <daniel.zaoui@yahoo.com> | 2017-05-26 08:52:52 +0300 |
---|---|---|
committer | Daniel Zaoui <daniel.zaoui@yahoo.com> | 2017-06-05 08:55:37 +0300 |
commit | 6e93528f414de5b020f15c0485f2f9b2c350d189 (patch) | |
tree | 4cd4aa67e0673802f224d8dccc1a942beebd96da | |
parent | d6e3ab67dbf652dcb90ce890ec779372f7db3e44 (diff) | |
download | efl-6e93528f414de5b020f15c0485f2f9b2c350d189.tar.gz |
Init the communication with the daemon from the debug thread
-rw-r--r-- | src/lib/eina/eina_debug.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/eina/eina_debug.c b/src/lib/eina/eina_debug.c index dcd707899d..2b4c25588b 100644 --- a/src/lib/eina/eina_debug.c +++ b/src/lib/eina/eina_debug.c @@ -514,8 +514,6 @@ _session_create(int fd) session->fd = fd; // start the monitor thread _thread_start(session); - _daemon_greet(session); - _opcodes_register_all(session); return session; } @@ -610,6 +608,9 @@ _monitor(void *_data) #ifndef _WIN32 Eina_Debug_Session *session = _data; + _daemon_greet(session); + _opcodes_register_all(session); + // set a name for this thread for system debugging #ifdef EINA_HAVE_PTHREAD_SETNAME # ifndef __linux__ |