Changes in uspace/lib/c/generic/loader.c [2443ad8:21d3201] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/loader.c
r2443ad8 r21d3201 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 stopped350 * for debugging.351 *352 * After using this function, no further operations can be performed353 * 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 370 347 /** Cancel the loader session. 371 348 *
Note:
See TracChangeset
for help on using the changeset viewer.