Changeset b183ce0a in mainline for uspace/lib/c/generic/fibril.c


Ignore:
Timestamp:
2013-03-24T15:34:29Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8a26f82
Parents:
b92a0ee (diff), 119b46e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    rb92a0ee rb183ce0a  
    256256 * @param func Implementing function of the new fibril.
    257257 * @param arg Argument to pass to func.
    258  * @param stksz Stack size, -1 for the system default stack size.
     258 * @param stksz Stack size in bytes.
    259259 *
    260260 * @return 0 on failure or TLS of the new fibril.
     
    269269                return 0;
    270270       
    271         size_t stack_size = (stksz == (size_t) -1) ? stack_size_get() : stksz;
     271        size_t stack_size = (stksz == FIBRIL_DFLT_STK_SIZE) ?
     272            stack_size_get() : stksz;
    272273        fibril->stack = as_area_create((void *) -1, stack_size,
    273274            AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE | AS_AREA_GUARD |
Note: See TracChangeset for help on using the changeset viewer.