Changeset 01ff41c in mainline for libc/include/async.h


Ignore:
Timestamp:
2006-05-27T22:28:25Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7f5b37a
Parents:
7f9cd77
Message:

Added functions to async framework for reasonable sending asynchronous
messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/include/async.h

    r7f9cd77 r01ff41c  
    44#include <ipc/ipc.h>
    55#include <psthread.h>
     6
     7typedef ipc_callid_t aid_t;
    68
    79int async_manager(void);
     
    1113ipc_callid_t async_get_call(ipc_call_t *data);
    1214
    13 /* Should be defined by application */
    1415pstid_t async_new_connection(ipc_callid_t callid, ipc_call_t *call,
    1516                             void (*cthread)(ipc_callid_t,ipc_call_t *));
     17aid_t async_send_2(int phoneid, ipcarg_t method, ipcarg_t arg1, ipcarg_t arg2,
     18                   ipc_call_t *dataptr);
     19void async_wait_for(aid_t amsgid, ipcarg_t *result);
     20
     21
     22/* Should be defined by application */
    1623void client_connection(ipc_callid_t callid, ipc_call_t *call) __attribute__((weak));
    1724
Note: See TracChangeset for help on using the changeset viewer.