Changeset 01ff41c in mainline for libc/include
- Timestamp:
- 2006-05-27T22:28:25Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7f5b37a
- Parents:
- 7f9cd77
- Location:
- libc/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/include/async.h
r7f9cd77 r01ff41c 4 4 #include <ipc/ipc.h> 5 5 #include <psthread.h> 6 7 typedef ipc_callid_t aid_t; 6 8 7 9 int async_manager(void); … … 11 13 ipc_callid_t async_get_call(ipc_call_t *data); 12 14 13 /* Should be defined by application */14 15 pstid_t async_new_connection(ipc_callid_t callid, ipc_call_t *call, 15 16 void (*cthread)(ipc_callid_t,ipc_call_t *)); 17 aid_t async_send_2(int phoneid, ipcarg_t method, ipcarg_t arg1, ipcarg_t arg2, 18 ipc_call_t *dataptr); 19 void async_wait_for(aid_t amsgid, ipcarg_t *result); 20 21 22 /* Should be defined by application */ 16 23 void client_connection(ipc_callid_t callid, ipc_call_t *call) __attribute__((weak)); 17 24 -
libc/include/psthread.h
r7f9cd77 r01ff41c 75 75 void psthread_add_manager(pstid_t psthrid); 76 76 void psthread_remove_manager(void); 77 pstid_t psthread_get_id(void); 77 78 78 79 static inline int psthread_schedule_next() { -
libc/include/thread.h
r7f9cd77 r01ff41c 39 39 extern int thread_create(void (* function)(void *arg), void *arg, char *name); 40 40 extern void thread_exit(int status); 41 tcb_t * __make_tls(void);42 tcb_t * __alloc_tls(void **data, size_t size);43 void __free_tls(tcb_t *);44 void __free_tls_arch(tcb_t *, size_t size);41 extern tcb_t * __make_tls(void); 42 extern tcb_t * __alloc_tls(void **data, size_t size); 43 extern void __free_tls(tcb_t *); 44 extern void __free_tls_arch(tcb_t *, size_t size); 45 45 46 46 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
