| /TaskScheduler/Scheduler/Source/ |
| H A D | MTScheduler.cpp | 64 context.fiber.Create(MT_STANDART_FIBER_STACK_SIZE, FiberMain, &context); in TaskScheduler() 76 context.fiber.Create(MT_EXTENDED_FIBER_STACK_SIZE, FiberMain, &context); in TaskScheduler() 399 context.NotifyWaitStarted(); in SchedulerFiberWait() 436 context.NotifyWaitFinished(); in SchedulerFiberWait() 448 context.NotifyThreadCreated(context.workerIndex); in SchedulerFiberMain() 470 context.NotifyThreadStarted(context.workerIndex); in SchedulerFiberMain() 480 context.NotifyThreadIdleStarted(context.workerIndex); in SchedulerFiberMain() 500 context.NotifyThreadIdleFinished(context.workerIndex); in SchedulerFiberMain() 510 context.NotifyThreadIdleFinished(context.workerIndex); in SchedulerFiberMain() 525 context.NotifyThreadIdleFinished(context.workerIndex); in SchedulerFiberMain() [all …]
|
| /TaskScheduler/ThirdParty/Boost.Context/asm/ |
| H A D | make_arm_aapcs_pe_armasm.asm | 48 ; first arg of make_fcontext() == top of context-stack 49 ; save top of context-stack (base) A4 55 ; reserve space for context-data on context-stack 60 ; second arg of make_fcontext() == size of context-stack 61 ; compute bottom address of context-stack (limit) 63 ; save bottom address of context-stack as 'limit' 65 ; save bottom address of context-stack as 'dealloction stack' 68 ; third arg of make_fcontext() == address of context-function 73 ; save address of finish as return-address for context-function 74 ; will be entered after context-function returns [all …]
|
| H A D | make_arm_aapcs_macho_gas.S | 48 @ reserve space for context-data on context-stack 51 @ third arg of make_fcontext() == address of context-function 56 @ save address of finish as return-address for context-function 57 @ will be entered after context-function returns 60 bx lr @ return pointer to context-data
|
| H A D | make_arm_aapcs_elf_gas.S | 49 @ reserve space for context-data on context-stack 52 @ third arg of make_fcontext() == address of context-function 57 @ save address of finish as return-address for context-function 58 @ will be entered after context-function returns 61 bx lr @ return pointer to context-data
|
| H A D | make_i386_ms_pe_masm.asm | 30 ; first arg of make_fcontext() == top of context-stack 33 ; reserve space for first argument of context-function 40 ; reserve space for context-data on context-stack 42 ; on context-function entry: (ESP -0x4) % 8 == 0 46 ; first arg of make_fcontext() == top of context-stack 48 ; save top address of context stack as 'base' 54 ; compute bottom address of context stack (limit) 56 ; save bottom address of context-stack as 'limit' 73 ; will be entered after context-function returns 101 ; save address in ECX as SEH handler for context [all …]
|
| H A D | make_arm64_aapcs_macho_gas.S | 57 ; reserve space for context-data on context-stack 60 ; third arg of make_fcontext() == address of context-function 71 ; save address of finish as return-address for context-function 72 ; will be entered after context-function returns (LR register) 75 ret lr ; return pointer to context-data (x0)
|
| H A D | make_ppc64_sysv_xcoff_gas.S | 10 # first arg of make_fcontext() == top address of context-function 14 # reserve space for context-data on context-stack 18 # third arg of make_fcontext() == address of context-function 32 # save address of finish as return-address for context-function 33 # will be entered after context-function returns 39 blr # return pointer to context-data
|
| H A D | make_mips32_o32_elf_gas.S | 45 # first arg of make_fcontext() == top address of context-stack 53 # reserve space for context-data on context-stack 57 # third arg of make_fcontext() == address of context-function 59 # save global pointer in context-data 65 # save address of finish as return-address for context-function 66 # will be entered after context-function returns 69 jr $ra # return pointer to context-data
|
| H A D | make_ppc32_sysv_xcoff_gas.S | 12 # first arg of make_fcontext() == top address of context-function 16 # reserve space for context-data on context-stack 20 # third arg of make_fcontext() == address of context-function 34 # save address of finish as return-address for context-function 35 # will be entered after context-function returns 41 blr # return pointer to context-data
|
| H A D | make_ppc64_sysv_elf_gas.S | 123 # first arg of make_fcontext() == top address of context-stack 127 # reserve space for context-data on context-stack 131 # third arg of make_fcontext() == address of context-function 134 # save address of context-function entry point 137 # save address of context-function entry point 140 # save TOC of context-function 156 # save address of finish as return-address for context-function 157 # will be entered after context-function returns 163 blr # return pointer to context-data
|
| H A D | make_ppc64_sysv_macho_gas.S | 97 ; first arg of make_fcontext() == top address of context-function 101 ; reserve space for context-data on context-stack 105 ; third arg of make_fcontext() == address of context-function 119 ; save address of finish as return-address for context-function 120 ; will be entered after context-function returns 126 blr ; return pointer to context-data
|
| H A D | make_ppc32_sysv_elf_gas.S | 77 # first arg of make_fcontext() == top address of context-function 81 # reserve space for context-data on context-stack 85 # third arg of make_fcontext() == address of context-function 99 # save address of finish as return-address for context-function 100 # will be entered after context-function returns 106 blr # return pointer to context-data
|
| H A D | make_ppc32_sysv_macho_gas.S | 76 ; first arg of make_fcontext() == top address of context-function 80 ; reserve space for context-data on context-stack 84 ; third arg of make_fcontext() == address of context-function 98 ; save address of finish as return-address for context-function 99 ; will be entered after context-function returns 105 blr ; return pointer to context-data
|
| H A D | make_arm64_aapcs_elf_gas.S | 63 # reserve space for context-data on context-stack 66 # third arg of make_fcontext() == address of context-function 70 # save address of finish as return-address for context-function 71 # will be entered after context-function returns (LR register)
|
| H A D | jump_arm_aapcs_elf_gas.S | 65 @ store RSP (pointing to context-data) in A1 68 @ restore RSP (pointing to context-data) from A2 85 @ and as first arg in context function
|
| H A D | jump_i386_ms_pe_masm.asm | 74 ; first arg of jump_fcontext() == context jumping from 77 ; store ESP (pointing to context-data) in EAX 80 ; second arg of jump_fcontext() == context jumping to 86 ; restore ESP (pointing to context-data) from EDX 136 ; use value in EAX as first arg in context function 139 ; indirect jump to context
|
| H A D | jump_arm_aapcs_macho_gas.S | 73 @ store RSP (pointing to context-data) in A1 76 @ restore RSP (pointing to context-data) from A2 99 @ and as first arg in context function
|
| H A D | jump_mips32_o32_elf_gas.S | 69 # store SP (pointing to context-data) in A0 72 # restore SP (pointing to context-data) from A1 109 # use third arg as first arg in context function 112 # jump to context
|
| H A D | jump_arm64_aapcs_macho_gas.S | 80 ; store RSP (pointing to context-data) in first argument (x0). 85 ; restore RSP (pointing to context-data) from A2 (x1) 111 ; and as first arg in context function
|
| H A D | jump_ppc32_sysv_xcoff_gas.S | 66 # store RSP (pointing to context-data) in R3 69 # restore RSP (pointing to context-data) from R4 134 # use third arg as first arg in context function 137 # jump to context
|
| H A D | jump_ppc64_sysv_xcoff_gas.S | 62 # store RSP (pointing to context-data) in R3 65 # restore RSP (pointing to context-data) from R4 130 # use third arg as first arg in context function 133 # jump to context
|
| H A D | jump_arm64_aapcs_elf_gas.S | 91 # store RSP (pointing to context-data) in first argument (x0). 96 # restore RSP (pointing to context-data) from A2 (x1) 119 # and as first arg in context function
|
| H A D | jump_x86_64_ms_pe_masm.asm | 137 ; store RSP (pointing to context-data) in RCX 140 ; restore RSP (pointing to context-data) from RDX 210 ; use third arg as first arg in context function 213 ; indirect jump to context
|
| /TaskScheduler/SchedulerTests/Tests/ |
| H A D | SubtasksTests.cpp | 52 void Do(MT::FiberContext& context) in SUITE() 57 context.RunSubtasksAndYield(MT::TaskGroup::Default(), &taskNm1, 1); in SUITE() 58 context.RunSubtasksAndYield(MT::TaskGroup::Default(), &taskNm2, 1); in SUITE() 111 void Do(MT::FiberContext& context) in SUITE() 113 resultGroup = context.currentGroup; in SUITE() 121 void Do(MT::FiberContext& context) in SUITE() 124 context.RunSubtasksAndYield(sourceGroup, &task, 1); in SUITE() 132 void Do(MT::FiberContext& context) in SUITE() 137 context.RunSubtasksAndYield(MT::TaskGroup::Default(), &task, 1); in SUITE() 225 void Do(MT::FiberContext& context) in SUITE() [all …]
|
| H A D | SimpleTests.cpp | 147 void Do(MT::FiberContext& context) in SUITE() 149 volatile WorkerThreadState* state0 = GetWorkerState( context.GetThreadContext()->workerIndex ); in SUITE() 154 context.Yield(); in SUITE() 157 volatile WorkerThreadState* state1 = GetWorkerState( context.GetThreadContext()->workerIndex ); in SUITE()
|