Changes in uspace/lib/c/generic/async.c [df956b9b:3e6a98c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async.c
rdf956b9b r3e6a98c5 350 350 static async_client_conn_t client_connection = default_client_connection; 351 351 static async_interrupt_handler_t interrupt_received = default_interrupt_received; 352 static size_t interrupt_handler_stksz = FIBRIL_DFLT_STK_SIZE;353 352 354 353 /** Setter for client_connection function pointer. … … 371 370 { 372 371 interrupt_received = intr; 373 }374 375 /** Set the stack size for the interrupt handler notification fibrils.376 *377 * @param size Stack size in bytes.378 */379 void async_set_interrupt_handler_stack_size(size_t size)380 {381 interrupt_handler_stksz = size;382 372 } 383 373 … … 597 587 msg->call = *call; 598 588 599 fid_t fid = fibril_create_generic(notification_fibril, msg, 600 interrupt_handler_stksz); 589 fid_t fid = fibril_create(notification_fibril, msg); 601 590 if (fid == 0) { 602 591 free(msg); … … 2068 2057 2069 2058 async_sess_t *sess = exch->sess; 2070 assert(sess != NULL);2071 2059 2072 2060 atomic_dec(&sess->refcnt); … … 2090 2078 * @param arg User defined argument. 2091 2079 * @param flags Storage for the received flags. Can be NULL. 2092 * @param dst Address of the storage for the destination address space area 2093 * base address. Cannot be NULL. 2080 * @param dst Destination address space area base. Cannot be NULL. 2094 2081 * 2095 2082 * @return Zero on success or a negative error code from errno.h. … … 2219 2206 * 2220 2207 * @param callid Hash of the IPC_M_DATA_WRITE call to answer. 2221 * @param dst Address of the storage for the destination address space area 2222 * base address. 2208 * @param dst Destination address space area base address. 2223 2209 * 2224 2210 * @return Zero on success or a value from @ref errno.h on failure.
Note:
See TracChangeset
for help on using the changeset viewer.