Changeset 984a9ba in mainline for uspace/srv/ns/task.h


Ignore:
Timestamp:
2018-07-05T09:34:09Z (6 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63d46341
Parents:
76f566d
Message:

do not expose the call capability handler from the async framework

Keep the call capability handler encapsulated within the async framework
and do not expose it explicitly via its API. Use the pointer to
ipc_call_t as the sole object identifying an IPC call in the code that
uses the async framework.

This plugs a major leak in the abstraction and also simplifies both the
async framework (slightly) and all IPC servers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/task.h

    r76f566d r984a9ba  
    4040extern void process_pending_wait(void);
    4141
    42 extern void wait_for_task(task_id_t, ipc_call_t *, cap_call_handle_t);
     42extern void wait_for_task(task_id_t, ipc_call_t *);
    4343
    4444extern errno_t ns_task_id_intro(ipc_call_t *);
    4545extern errno_t ns_task_disconnect(ipc_call_t *);
    4646extern errno_t ns_task_retval(ipc_call_t *);
    47 
    4847
    4948#endif
Note: See TracChangeset for help on using the changeset viewer.