Changeset 16d748ee in mainline for uspace/lib/c/generic/taskman.c


Ignore:
Timestamp:
2020-01-05T03:04:38Z (4 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
66b1075
Parents:
2f04bdd
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-11-30 20:47:26)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2020-01-05 03:04:38)
Message:

Removing implicit handler from async/server and taskman.
Correcting taskman methods and it's fallback handler
Simplifying connecting to taskman

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/taskman.c

    r2f04bdd r16d748ee  
    6969        async_exchange_end(exch);
    7070}
    71 #include <stdio.h>
     71
    7272/** Wrap PHONE_INITIAL with session and introduce to taskman
    7373 */
     
    8585                /* Introduce ourselves and ignore answer */
    8686                async_exch_t *exch = async_exchange_begin(sess);
    87                 aid_t req = async_send_0(exch, TASKMAN_NEW_TASK, NULL);
     87                sess = async_connect_me_to(exch, INTERFACE_ANY,
     88                    TASKMAN_NEW_TASK, 0);
    8889                async_exchange_end(exch);
    89 
    90                 if (req) {
    91                         async_forget(req);
    92                 }
    9390        }
    9491
Note: See TracChangeset for help on using the changeset viewer.