Changeset d5a89a3 in mainline for uspace/lib/c/generic/thread/fibril.c
- Timestamp:
- 2019-02-11T22:31:04Z (6 years ago)
- Children:
- aaf9789c
- Parents:
- e3272101 (diff), 4805495 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread/fibril.c
re3272101 rd5a89a3 550 550 return 0; 551 551 552 fibril->stack_size = (stksz == FIBRIL_DFLT_STK_SIZE) ? 553 stack_size_get() : stksz; 552 fibril->stack_size = stksz; 554 553 fibril->stack = as_area_create(AS_AREA_ANY, fibril->stack_size, 555 554 AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE | AS_AREA_GUARD | … … 572 571 context_create(&fibril->ctx, &sctx); 573 572 return (fid_t) fibril; 573 } 574 575 fid_t fibril_create(errno_t (*func)(void *), void *arg) 576 { 577 return fibril_create_generic(func, arg, stack_size_get()); 574 578 } 575 579
Note:
See TracChangeset
for help on using the changeset viewer.