Changeset bb57a00 in mainline for uspace/srv/sysman/main.c
- Timestamp:
- 2019-08-07T11:17:11Z (6 years ago)
- Children:
- 4ff66ae
- Parents:
- 4667b5c
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-11-13 01:57:56)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 11:17:11)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/main.c
r4667b5c rbb57a00 36 36 #include <stdio.h> 37 37 #include <str.h> 38 #include <taskman.h> 38 39 39 40 #include "repo.h" … … 204 205 int main(int argc, char *argv[]) 205 206 { 207 async_set_client_connection(sysman_connection); 206 208 printf(NAME ": HelenOS system daemon\n"); 207 209 … … 235 237 async_usleep(1 * 1000000); 236 238 sysman_log(LVL_DEBUG, "Debugging pause ended.\n"); 237 /* Queue first job from sequence */238 prepare_and_run_job(&target_sequence[0]);239 239 240 240 /* We're service too */ … … 246 246 } 247 247 248 /* We're almost ready, scan for boot time tasks */ 249 rc = taskman_dump_events(); 250 if (rc != EOK) { 251 sysman_log(LVL_FATAL, 252 "Cannot scan boot time tasks (%i).", rc); 253 return rc; 254 } 255 256 /* Queue first job from sequence */ 257 prepare_and_run_job(&target_sequence[0]); 258 248 259 /* Start sysman server */ 249 async_set_client_connection(sysman_connection);250 260 251 261 printf(NAME ": Accepting connections\n"); 262 task_retval(0); 252 263 async_manager(); 253 264
Note:
See TracChangeset
for help on using the changeset viewer.