Changeset eceff5f in mainline for uspace/lib/c/generic/async.c


Ignore:
Timestamp:
2013-03-12T20:47:40Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0e1edf1, 2b95d13
Parents:
623bab8f
Message:

Use 0 instead of -1 for the default fibril stack size and define
FIBRIL_DFLT_STK_SIZE to represent this special value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/async.c

    r623bab8f receff5f  
    350350static async_client_conn_t client_connection = default_client_connection;
    351351static async_interrupt_handler_t interrupt_received = default_interrupt_received;
    352 static size_t interrupt_handler_stksz = (size_t) -1;
     352static size_t interrupt_handler_stksz = FIBRIL_DFLT_STK_SIZE;
    353353
    354354/** Setter for client_connection function pointer.
     
    375375/** Set the stack size for the interrupt handler notification fibrils.
    376376 *
    377  * @param size Stack size. Use -1 to use the system default stack size.
     377 * @param size Stack size in bytes.
    378378 */
    379379void async_set_interrupt_handler_stack_size(size_t size)
Note: See TracChangeset for help on using the changeset viewer.