source: mainline/libc/include/async.h@ 8c6b45f

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 8c6b45f was 53ca318, checked in by Ondrej Palkovsky <ondrap@…>, 20 years ago

Small updates to asynchronous framework.

  • Property mode set to 100644
File size: 507 bytes
RevLine 
[630c3a9]1#ifndef _libc_ASYNC_H_
2#define _libc_ASYNC_H_
3
4#include <ipc/ipc.h>
[53ca318]5#include <psthread.h>
[630c3a9]6
7int async_manager(void);
8void async_create_manager(void);
9void async_destroy_manager(void);
10int _async_init(void);
11ipc_callid_t async_get_call(ipc_call_t *data);
12
13/* Should be defined by application */
[53ca318]14pstid_t async_new_connection(ipc_callid_t callid, ipc_call_t *call,
15 void (*cthread)(ipc_callid_t,ipc_call_t *));
[630c3a9]16void client_connection(ipc_callid_t callid, ipc_call_t *call) __attribute__((weak));
17
18#endif
Note: See TracBrowser for help on using the repository browser.