Changeset 55f068c in mainline for uspace/lib/c/generic/context.c
- Timestamp:
- 2018-03-11T17:15:15Z (7 years ago)
- Children:
- 12ae6d8
- Parents:
- 615e83d
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-11 17:07:39)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-11 17:15:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/context.c
r615e83d r55f068c 43 43 void context_swap(context_t *self, context_t *other) 44 44 { 45 if (! setjmp(self))45 if (!__setjmp(self)) 46 46 __longjmp(other, 1); 47 47 } … … 49 49 void context_create(context_t *context, const context_create_t *arg) 50 50 { 51 setjmp(context);51 __setjmp(context); 52 52 context_set(context, FADDR(arg->fn), arg->stack_base, 53 53 arg->stack_size, arg->tls);
Note:
See TracChangeset
for help on using the changeset viewer.