Changes in uspace/lib/c/generic/loader.c [21d3201:2443ad8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/loader.c
r21d3201 r2443ad8 345 345 } 346 346 347 /** Instruct loader to execute the program and do not wait for reply. 348 * 349 * This function does not block even if the loaded task is stopped 350 * for debugging. 351 * 352 * After using this function, no further operations can be performed 353 * on the loader structure and it is deallocated. 354 * 355 * @param ldr Loader connection structure. 356 * 357 * @return Zero on success or an error code. 358 * 359 */ 360 void loader_run_nowait(loader_t *ldr) 361 { 362 async_exch_t *exch = async_exchange_begin(ldr->sess); 363 async_msg_0(exch, LOADER_RUN); 364 async_exchange_end(exch); 365 366 async_hangup(ldr->sess); 367 free(ldr); 368 } 369 347 370 /** Cancel the loader session. 348 371 *
Note:
See TracChangeset
for help on using the changeset viewer.