Changeset 87a31ef2 in mainline for uspace/srv/ns/ns.c
- Timestamp:
- 2019-08-07T11:47:00Z (6 years ago)
- Children:
- d5cca04
- Parents:
- 4ff66ae
- git-author:
- Michal Koutny <xm.koutny+hos@…> (2015-11-15 11:47:07)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 11:47:00)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/ns.c
r4ff66ae r87a31ef2 44 44 #include <stdio.h> 45 45 #include <errno.h> 46 #define TASKMAN_DISABLE_ASYNC 47 #include <taskman.h> 48 #undef TASKMAN_DISABLE_ASYNC 46 #include <ipc/taskman.h> 47 #include <taskman_noasync.h> 49 48 50 49 #include "ns.h" … … 121 120 return rc; 122 121 123 rc = taskman_intro_ns ();122 rc = taskman_intro_ns_noasync(); 124 123 if (rc != EOK) { 125 124 printf("%s: not accepted by taskman (%i)\n", NAME, rc); 126 125 return rc; 127 126 } 128 127 task_retval_noasync(0); 128 129 129 async_set_fallback_port_handler(ns_connection, NULL); 130 130 131 131 printf("%s: Accepting connections\n", NAME); 132 // TODO enable NS to use task_retval(0)132 133 133 async_manager(); 134 134
Note:
See TracChangeset
for help on using the changeset viewer.