Skip to main content
summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authoreutarass2008-03-06 20:03:42 +0000
committereutarass2008-03-06 20:03:42 +0000
commitbae26f669bc520eac1abfebca376adab73350c05 (patch)
tree8fdabffbd5648f13e6da51e16fa9b7e28e5e766e /main.c
parent6874361b6a7628216e1b06d0778d47b1879d42fa (diff)
downloadorg.eclipse.tcf.agent-bae26f669bc520eac1abfebca376adab73350c05.tar.gz
org.eclipse.tcf.agent-bae26f669bc520eac1abfebca376adab73350c05.tar.xz
org.eclipse.tcf.agent-bae26f669bc520eac1abfebca376adab73350c05.zip
channel_tcp.c has been converted only use asynchronous I/O, so it can be completely single threaded.
See Bug#:221380(https://bugs.eclipse.org/bugs/show_bug.cgi?id=221380) TCF agent depends on pthreads for asynchronous events.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index a4dc404f..07bf242c 100644
--- a/main.c
+++ b/main.c
@@ -22,6 +22,7 @@
#include <assert.h>
#include <signal.h>
#include "mdep.h"
+#include "asyncreq.h"
#include "events.h"
#include "trace.h"
#include "myalloc.h"
@@ -115,6 +116,7 @@ int main(int argc, char ** argv) {
#endif
ini_mdep();
ini_trace();
+ ini_asyncreq();
ini_events_queue();
ini_expression_library();

Back to the top