Changeset 4224ef7 in mainline for uspace/lib
- Timestamp:
- 2019-08-06T18:18:37Z (6 years ago)
- Children:
- e55741e
- Parents:
- dd5c623
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-05-11 16:50:40)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-06 18:18:37)
- Location:
- uspace/lib
- Files:
-
- 2 edited
-
gui/window.c (modified) (4 diffs)
-
sysman/src/ctl.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.c
rdd5c623 r4224ef7 616 616 win->surface = NULL; 617 617 618 unsigned int ipc_flags = IPC_FLAG_AUTOSTART; 618 619 service_id_t reg_dsid; 619 errno_t rc = loc_service_get_id(winreg, ®_dsid, 0);620 errno_t rc = loc_service_get_id(winreg, ®_dsid, ipc_flags); 620 621 if (rc != EOK) { 621 622 free(win); … … 624 625 625 626 async_sess_t *reg_sess = 626 loc_service_connect(reg_dsid, INTERFACE_COMPOSITOR, 0); 627 loc_service_connect(reg_dsid, INTERFACE_COMPOSITOR, ipc_flags); 628 627 629 if (reg_sess == NULL) { 628 630 free(win); … … 639 641 } 640 642 641 win->osess = loc_service_connect(out_dsid, INTERFACE_COMPOSITOR, 0); 643 644 win->osess = loc_service_connect(out_dsid, INTERFACE_COMPOSITOR, ipc_flags); 645 642 646 if (win->osess == NULL) { 643 647 free(win); … … 645 649 } 646 650 647 win->isess = loc_service_connect(in_dsid, INTERFACE_COMPOSITOR, 0); 651 win->isess = loc_service_connect(in_dsid, INTERFACE_COMPOSITOR, ipc_flags); 652 648 653 if (win->isess == NULL) { 649 654 async_hangup(win->osess); -
uspace/lib/sysman/src/ctl.c
rdd5c623 r4224ef7 33 33 #include <sysman/sysman.h> 34 34 35 /* 36 * TODO 37 * Non-blocking favor of this API is effectively incomplete as it doesn't 38 * provide means how to obtain result of the start operation. 39 * Probably devise individual API for brokers that could exploit the fact that 40 * broker knows when appropriate exposee is created and the request succeeded. 41 * Still though, it's necessary to centralize timeout into sysman. 42 */ 35 43 int sysman_unit_start(const char *unit_name, int flags) 36 44 {
Note:
See TracChangeset
for help on using the changeset viewer.
