Changes in uspace/lib/c/generic/fibril.c [b4df8db:eceff5f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/fibril.c
rb4df8db receff5f 256 256 * @param func Implementing function of the new fibril. 257 257 * @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. 259 259 * 260 260 * @return 0 on failure or TLS of the new fibril. … … 269 269 return 0; 270 270 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; 272 273 fibril->stack = as_area_create((void *) -1, stack_size, 273 274 AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE | AS_AREA_GUARD |
Note:
See TracChangeset
for help on using the changeset viewer.