Skip to content

Commit

Permalink
identify all of the available task context creation algorithms with H…
Browse files Browse the repository at this point in the history
…AVE_ flags for better clarity and simplicity
  • Loading branch information
vtjnash committed Sep 24, 2015
1 parent b005dee commit 9388766
Show file tree
Hide file tree
Showing 2 changed files with 305 additions and 188 deletions.
7 changes: 2 additions & 5 deletions src/julia.h
Original file line number Diff line number Diff line change
Expand Up @@ -1386,13 +1386,10 @@ typedef struct _jl_task_t {
// hidden state:
#ifdef _OS_WINDOWS_
LPVOID fiber; // Fiber that this runs on
jl_jmp_buf ctx; // saved thread state
#else
unw_context_t ctx; // saved unwind context
#endif
jl_jmp_buf ctx; // saved thread state
void *stkbuf; // malloc'd memory
unsigned ssize; // sizeof the portion of stack used in stkbuf
uint8_t started;
int ssize; // sizeof the portion of stack used in stkbuf

// current exception handler
jl_handler_t *eh;
Expand Down
Loading

0 comments on commit 9388766

Please sign in to comment.