在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → windows下协程实现(fiber、汇编、非共享栈、共享栈)

windows下协程实现(fiber、汇编、非共享栈、共享栈)

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:0.85M
  • 下载次数:5
  • 浏览次数:73
  • 发布时间:2021-01-26
  • 实例类别:一般编程问题
  • 发 布 人:好学IT男
  • 文件格式:.rar
  • 所需积分:2
 

实例介绍

【实例简介】
windows下协程实现(fiber、汇编、非共享栈、共享栈)
【实例截图】
【核心代码】
16d75515-4ce9-4c43-b0b7-8ddb6630e810
└── 协程学习
├── Clear.bat
├── coroutine_study
│   ├── coctx.cpp
│   ├── coctx.h
│   ├── coroutine_fiber
│   │   ├── coroutine_fiber.c
│   │   ├── coroutine_fiber.vcxproj
│   │   ├── coroutine_fiber.vcxproj.filters
│   │   ├── Debug
│   │   │   ├── coroutine_fiber.Build.CppClean.log
│   │   │   ├── coroutine_fiber.log
│   │   │   └── coroutine_fiber.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_fiber.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── Release
│   │   ├── coroutine_fiber.log
│   │   └── coroutine_fiber.tlog
│   │   ├── cl.command.1.tlog
│   │   ├── CL.read.1.tlog
│   │   ├── CL.write.1.tlog
│   │   ├── coroutine_fiber.lastbuildstate
│   │   ├── link.command.1.tlog
│   │   ├── link.read.1.tlog
│   │   └── link.write.1.tlog
│   ├── coroutine.h
│   ├── coroutine_libco_mytest
│   │   ├── coctx.h
│   │   ├── co_routine.h
│   │   ├── co_routine_inner.h
│   │   ├── coroutine_libco_mytest.vcxproj
│   │   ├── coroutine_libco_mytest.vcxproj.filters
│   │   ├── co_routine_specific.h
│   │   ├── Debug
│   │   │   ├── coroutin.A3748D3B.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_libco_mytest.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_libco_mytest.Build.CppClean.log
│   │   │   └── coroutine_libco_mytest.log
│   │   ├── main.cpp
│   │   ├── main.h
│   │   └── Release
│   │   ├── coroutin.A3748D3B.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_libco_mytest.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── coroutine_libco_mytest.log
│   ├── coroutine_mysetjump
│   │   ├── coroutine_mysetjump.vcxproj
│   │   ├── coroutine_mysetjump.vcxproj.filters
│   │   ├── Debug
│   │   │   ├── coroutin.282E2C44.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_mysetjump.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_mysetjump.Build.CppClean.log
│   │   │   └── coroutine_mysetjump.log
│   │   ├── mysetjmp.c
│   │   ├── mysetjmp.h
│   │   └── Release
│   │   ├── coroutin.282E2C44.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_mysetjump.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── coroutine_mysetjump.log
│   ├── coroutine_shared_stack
│   │   ├── coroutine_shared_stack.vcxproj
│   │   ├── coroutine_shared_stack.vcxproj.filters
│   │   ├── coroutine_shared_stack.vcxproj.user
│   │   ├── co_shared_stack.c
│   │   ├── Debug
│   │   │   ├── coroutin.C2EA2AA2.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_shared_stack.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_shared_stack.Build.CppClean.log
│   │   │   └── coroutine_shared_stack.log
│   │   ├── Release
│   │   │   ├── coroutin.C2EA2AA2.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_shared_stack.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   └── coroutine_shared_stack.log
│   │   └── x64
│   │   └── Debug
│   │   ├── coroutin.C2EA2AA2.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_shared_stack.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link-cvtres.read.1.tlog
│   │   │   ├── link-cvtres.write.1.tlog
│   │   │   ├── link-rc.read.1.tlog
│   │   │   ├── link-rc.write.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   ├── link.write.1.tlog
│   │   │   └── unsuccessfulbuild
│   │   ├── coroutine_shared_stack.Build.CppClean.log
│   │   └── coroutine_shared_stack.log
│   ├── coroutine_shared_stack_lower
│   │   ├── coroutine_shared_stack_lower.vcxproj
│   │   ├── coroutine_shared_stack_lower.vcxproj.filters
│   │   ├── co_shared_stack_lower.c
│   │   ├── Debug
│   │   │   ├── coroutin.5B2C72F6.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_shared_stack_lower.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_shared_stack_lower.Build.CppClean.log
│   │   │   └── coroutine_shared_stack_lower.log
│   │   └── Release
│   │   ├── coroutin.5B2C72F6.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_shared_stack_lower.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── coroutine_shared_stack_lower.log
│   ├── coroutine_study.sln
│   ├── coroutine_study.v12.suo
│   ├── coroutine_switch
│   │   ├── coroutine_switch.vcxproj
│   │   ├── coroutine_switch.vcxproj.filters
│   │   ├── Debug
│   │   │   ├── coroutine_switch.Build.CppClean.log
│   │   │   ├── coroutine_switch.log
│   │   │   └── coroutine_switch.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_switch.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   ├── Release
│   │   │   ├── coroutine_switch.log
│   │   │   └── coroutine_switch.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_switch.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   ├── switch.c
│   │   └── switch.h
│   ├── coroutine_unshared_stack
│   │   ├── coroutine_unshared_stack.vcxproj
│   │   ├── coroutine_unshared_stack.vcxproj.filters
│   │   ├── co_unshared_stack.c
│   │   ├── Debug
│   │   │   ├── coroutin.A577A0DB.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_unshared_stack.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_unshared_stack.Build.CppClean.log
│   │   │   └── coroutine_unshared_stack.log
│   │   └── Release
│   │   ├── coroutin.A577A0DB.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_unshared_stack.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── coroutine_unshared_stack.log
│   ├── Debug
│   │   ├── coroutine_fiber.exe
│   │   ├── coroutine_libco_mytest.exe
│   │   ├── coroutine_mysetjump.exe
│   │   ├── coroutine_switch.exe
│   │   └── coroutine_unshared_stack.exe
│   ├── main.c
│   └── Release
│   ├── coroutine_fiber.exe
│   ├── coroutine_libco_mytest.exe
│   ├── coroutine_mysetjump.exe
│   ├── coroutine_switch.exe
│   └── coroutine_unshared_stack.exe
├── coroutine_study - CPP
│   ├── coctx.cpp
│   ├── coctx.h
│   ├── coroutine_fiber
│   │   ├── coroutine_fiber.c
│   │   ├── coroutine_fiber.vcxproj
│   │   ├── coroutine_fiber.vcxproj.filters
│   │   ├── Debug
│   │   │   ├── coroutine_fiber.Build.CppClean.log
│   │   │   ├── coroutine_fiber.log
│   │   │   └── coroutine_fiber.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_fiber.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── Release
│   │   ├── coroutine_fiber.log
│   │   └── coroutine_fiber.tlog
│   │   ├── cl.command.1.tlog
│   │   ├── CL.read.1.tlog
│   │   ├── CL.write.1.tlog
│   │   ├── coroutine_fiber.lastbuildstate
│   │   ├── link.command.1.tlog
│   │   ├── link.read.1.tlog
│   │   └── link.write.1.tlog
│   ├── coroutine.h
│   ├── coroutine_libco_mytest
│   │   ├── coctx.h
│   │   ├── co_routine.h
│   │   ├── co_routine_inner.h
│   │   ├── coroutine_libco_mytest.vcxproj
│   │   ├── coroutine_libco_mytest.vcxproj.filters
│   │   ├── co_routine_specific.h
│   │   ├── Debug
│   │   │   ├── coroutin.A3748D3B.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_libco_mytest.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   └── coroutine_libco_mytest.log
│   │   ├── main.cpp
│   │   ├── main.h
│   │   └── Release
│   │   ├── coroutin.A3748D3B.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_libco_mytest.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── coroutine_libco_mytest.log
│   ├── coroutine_mysetjump
│   │   ├── coroutine_mysetjump.vcxproj
│   │   ├── coroutine_mysetjump.vcxproj.filters
│   │   ├── Debug
│   │   │   ├── coroutin.282E2C44.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_mysetjump.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   └── coroutine_mysetjump.log
│   │   ├── mysetjmp.c
│   │   ├── mysetjmp.h
│   │   └── Release
│   │   ├── coroutin.282E2C44.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_mysetjump.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── coroutine_mysetjump.log
│   ├── coroutine_shared_stack
│   │   ├── coroutine_shared_stack.vcxproj
│   │   ├── coroutine_shared_stack.vcxproj.filters
│   │   ├── co_shared_stack.cpp
│   │   ├── Debug
│   │   │   ├── coroutin.C2EA2AA2.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_shared_stack.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_shared_stack.Build.CppClean.log
│   │   │   └── coroutine_shared_stack.log
│   │   └── Release
│   │   ├── coroutin.C2EA2AA2.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_shared_stack.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── coroutine_shared_stack.log
│   ├── coroutine_shared_stack_lower
│   │   ├── coroutine_shared_stack_lower.vcxproj
│   │   ├── coroutine_shared_stack_lower.vcxproj.filters
│   │   ├── co_shared_stack_lower.c
│   │   ├── Debug
│   │   │   ├── coroutin.5B2C72F6.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_shared_stack_lower.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   └── coroutine_shared_stack_lower.log
│   │   └── Release
│   │   ├── coroutin.5B2C72F6.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_shared_stack_lower.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── coroutine_shared_stack_lower.log
│   ├── coroutine_study.sln
│   ├── coroutine_study.v12.suo
│   ├── coroutine_switch
│   │   ├── coroutine_switch.vcxproj
│   │   ├── coroutine_switch.vcxproj.filters
│   │   ├── Debug
│   │   │   ├── coroutine_switch.log
│   │   │   └── coroutine_switch.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_switch.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   ├── Release
│   │   │   ├── coroutine_switch.log
│   │   │   └── coroutine_switch.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_switch.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   ├── switch.c
│   │   └── switch.h
│   ├── coroutine_unshared_stack
│   │   ├── coroutine_unshared_stack.vcxproj
│   │   ├── coroutine_unshared_stack.vcxproj.filters
│   │   ├── co_unshared_stack.c
│   │   ├── Debug
│   │   │   ├── coroutin.A577A0DB.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_unshared_stack.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_unshared_stack.Build.CppClean.log
│   │   │   └── coroutine_unshared_stack.log
│   │   └── Release
│   │   ├── coroutin.A577A0DB.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_unshared_stack.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── coroutine_unshared_stack.log
│   ├── Debug
│   │   ├── coroutine_fiber.exe
│   │   ├── coroutine_libco_mytest.exe
│   │   ├── coroutine_mysetjump.exe
│   │   ├── coroutine_shared_stack.exe
│   │   ├── coroutine_shared_stack_lower.exe
│   │   ├── coroutine_switch.exe
│   │   └── coroutine_unshared_stack.exe
│   ├── main.cpp
│   └── Release
│   ├── coroutine_fiber.exe
│   ├── coroutine_libco_mytest.exe
│   ├── coroutine_mysetjump.exe
│   ├── coroutine_shared_stack.exe
│   ├── coroutine_shared_stack_lower.exe
│   ├── coroutine_switch.exe
│   └── coroutine_unshared_stack.exe
├── coroutine_study - detached asm file
│   ├── coctx32_asm.asm
│   ├── coctx64_asm.asm
│   ├── coctx_asm.asm
│   ├── coctx.cpp
│   ├── coctx.h
│   ├── coroutine_fiber
│   │   ├── coroutine_fiber.c
│   │   ├── coroutine_fiber.vcxproj
│   │   ├── coroutine_fiber.vcxproj.filters
│   │   ├── coroutine_fiber.vcxproj.user
│   │   ├── Debug
│   │   │   ├── coroutine_fiber.Build.CppClean.log
│   │   │   ├── coroutine_fiber.log
│   │   │   └── coroutine_fiber.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_fiber.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── Release
│   │   ├── coroutine_fiber.log
│   │   └── coroutine_fiber.tlog
│   │   ├── cl.command.1.tlog
│   │   ├── CL.read.1.tlog
│   │   ├── CL.write.1.tlog
│   │   ├── coroutine_fiber.lastbuildstate
│   │   ├── link.command.1.tlog
│   │   ├── link.read.1.tlog
│   │   └── link.write.1.tlog
│   ├── coroutine.h
│   ├── coroutine_libco_mytest
│   │   ├── coctx.h
│   │   ├── co_routine.h
│   │   ├── co_routine_inner.h
│   │   ├── coroutine_libco_mytest.vcxproj
│   │   ├── coroutine_libco_mytest.vcxproj.filters
│   │   ├── co_routine_specific.h
│   │   ├── Debug
│   │   │   ├── coroutin.A3748D3B.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_libco_mytest.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_libco_mytest.Build.CppClean.log
│   │   │   └── coroutine_libco_mytest.log
│   │   ├── main.cpp
│   │   ├── main.h
│   │   └── Release
│   │   ├── coroutin.A3748D3B.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_libco_mytest.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── coroutine_libco_mytest.log
│   ├── coroutine_mysetjump
│   │   ├── coroutine_mysetjump.vcxproj
│   │   ├── coroutine_mysetjump.vcxproj.filters
│   │   ├── Debug
│   │   │   ├── coroutin.282E2C44.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_mysetjump.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_mysetjump.Build.CppClean.log
│   │   │   └── coroutine_mysetjump.log
│   │   ├── mysetjmp.c
│   │   ├── mysetjmp.h
│   │   ├── Release
│   │   │   ├── coroutin.282E2C44.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_mysetjump.lastbuildstate
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   └── coroutine_mysetjump.log
│   │   └── x64
│   │   └── Debug
│   │   ├── coroutin.282E2C44.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_mysetjump.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   └── coroutine_mysetjump.log
│   ├── coroutine_shared_stack
│   │   ├── coroutine_shared_stack.vcxproj
│   │   ├── coroutine_shared_stack.vcxproj.filters
│   │   ├── coroutine_shared_stack.vcxproj.user
│   │   ├── co_shared_stack.c
│   │   ├── Debug
│   │   │   ├── coroutin.C2EA2AA2.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_shared_stack.lastbuildstate
│   │   │   │   ├── custombuild.command.1.tlog
│   │   │   │   ├── custombuild.read.1.tlog
│   │   │   │   ├── custombuild.write.1.tlog
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_shared_stack.Build.CppClean.log
│   │   │   └── coroutine_shared_stack.log
│   │   ├── Release
│   │   │   ├── coroutin.C2EA2AA2.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_shared_stack.lastbuildstate
│   │   │   │   ├── custombuild.command.1.tlog
│   │   │   │   ├── custombuild.read.1.tlog
│   │   │   │   ├── custombuild.write.1.tlog
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_shared_stack.Build.CppClean.log
│   │   │   └── coroutine_shared_stack.log
│   │   └── x64
│   │   ├── Debug
│   │   │   ├── coroutin.C2EA2AA2.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_shared_stack.lastbuildstate
│   │   │   │   ├── custombuild.command.1.tlog
│   │   │   │   ├── custombuild.read.1.tlog
│   │   │   │   ├── custombuild.write.1.tlog
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_shared_stack.Build.CppClean.log
│   │   │   └── coroutine_shared_stack.log
│   │   └── Release
│   │   ├── coroutin.C2EA2AA2.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_shared_stack.lastbuildstate
│   │   │   ├── custombuild.command.1.tlog
│   │   │   ├── custombuild.read.1.tlog
│   │   │   ├── custombuild.write.1.tlog
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   ├── coroutine_shared_stack.Build.CppClean.log
│   │   └── coroutine_shared_stack.log
│   ├── coroutine_shared_stack_lower
│   │   ├── coroutine_shared_stack_lower.vcxproj
│   │   ├── coroutine_shared_stack_lower.vcxproj.filters
│   │   ├── co_shared_stack_lower.c
│   │   ├── Debug
│   │   │   ├── coroutin.5B2C72F6.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_shared_stack_lower.lastbuildstate
│   │   │   │   ├── custombuild.command.1.tlog
│   │   │   │   ├── custombuild.read.1.tlog
│   │   │   │   ├── custombuild.write.1.tlog
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_shared_stack_lower.Build.CppClean.log
│   │   │   └── coroutine_shared_stack_lower.log
│   │   ├── Release
│   │   │   ├── coroutin.5B2C72F6.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_shared_stack_lower.lastbuildstate
│   │   │   │   ├── custombuild.command.1.tlog
│   │   │   │   ├── custombuild.read.1.tlog
│   │   │   │   ├── custombuild.write.1.tlog
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_shared_stack_lower.Build.CppClean.log
│   │   │   └── coroutine_shared_stack_lower.log
│   │   └── x64
│   │   ├── Debug
│   │   │   ├── coroutin.5B2C72F6.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_shared_stack_lower.lastbuildstate
│   │   │   │   ├── custombuild.command.1.tlog
│   │   │   │   ├── custombuild.read.1.tlog
│   │   │   │   ├── custombuild.write.1.tlog
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_shared_stack_lower.Build.CppClean.log
│   │   │   └── coroutine_shared_stack_lower.log
│   │   └── Release
│   │   ├── coroutin.5B2C72F6.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_shared_stack_lower.lastbuildstate
│   │   │   ├── custombuild.command.1.tlog
│   │   │   ├── custombuild.read.1.tlog
│   │   │   ├── custombuild.write.1.tlog
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   ├── coroutine_shared_stack_lower.Build.CppClean.log
│   │   └── coroutine_shared_stack_lower.log
│   ├── coroutine_study.sln
│   ├── coroutine_study.v12.suo
│   ├── coroutine_switch
│   │   ├── coroutine_switch.vcxproj
│   │   ├── coroutine_switch.vcxproj.filters
│   │   ├── Debug
│   │   │   ├── coroutine_switch.Build.CppClean.log
│   │   │   ├── coroutine_switch.log
│   │   │   └── coroutine_switch.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_switch.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   ├── Release
│   │   │   ├── coroutine_switch.log
│   │   │   └── coroutine_switch.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_switch.lastbuildstate
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   ├── switch.c
│   │   └── switch.h
│   ├── coroutine_unshared_stack
│   │   ├── coroutine_unshared_stack.vcxproj
│   │   ├── coroutine_unshared_stack.vcxproj.filters
│   │   ├── co_unshared_stack.c
│   │   ├── Debug
│   │   │   ├── coroutin.A577A0DB.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_unshared_stack.lastbuildstate
│   │   │   │   ├── custombuild.command.1.tlog
│   │   │   │   ├── custombuild.read.1.tlog
│   │   │   │   ├── custombuild.write.1.tlog
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_unshared_stack.Build.CppClean.log
│   │   │   └── coroutine_unshared_stack.log
│   │   ├── Release
│   │   │   ├── coroutin.A577A0DB.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_unshared_stack.lastbuildstate
│   │   │   │   ├── custombuild.command.1.tlog
│   │   │   │   ├── custombuild.read.1.tlog
│   │   │   │   ├── custombuild.write.1.tlog
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   └── coroutine_unshared_stack.log
│   │   └── x64
│   │   ├── Debug
│   │   │   ├── coroutin.A577A0DB.tlog
│   │   │   │   ├── cl.command.1.tlog
│   │   │   │   ├── CL.read.1.tlog
│   │   │   │   ├── CL.write.1.tlog
│   │   │   │   ├── coroutine_unshared_stack.lastbuildstate
│   │   │   │   ├── custombuild.command.1.tlog
│   │   │   │   ├── custombuild.read.1.tlog
│   │   │   │   ├── custombuild.write.1.tlog
│   │   │   │   ├── link.command.1.tlog
│   │   │   │   ├── link.read.1.tlog
│   │   │   │   └── link.write.1.tlog
│   │   │   ├── coroutine_unshared_stack.Build.CppClean.log
│   │   │   └── coroutine_unshared_stack.log
│   │   └── Release
│   │   ├── coroutin.A577A0DB.tlog
│   │   │   ├── cl.command.1.tlog
│   │   │   ├── CL.read.1.tlog
│   │   │   ├── CL.write.1.tlog
│   │   │   ├── coroutine_unshared_stack.lastbuildstate
│   │   │   ├── custombuild.command.1.tlog
│   │   │   ├── custombuild.read.1.tlog
│   │   │   ├── custombuild.write.1.tlog
│   │   │   ├── link.command.1.tlog
│   │   │   ├── link.read.1.tlog
│   │   │   └── link.write.1.tlog
│   │   ├── coroutine_unshared_stack.Build.CppClean.log
│   │   └── coroutine_unshared_stack.log
│   ├── Debug
│   │   ├── coroutine_fiber.exe
│   │   ├── coroutine_libco_mytest.exe
│   │   ├── coroutine_mysetjump.exe
│   │   ├── coroutine_shared_stack.exe
│   │   ├── coroutine_shared_stack_lower.exe
│   │   ├── coroutine_switch.exe
│   │   └── coroutine_unshared_stack.exe
│   ├── main.c
│   ├── Release
│   │   ├── coroutine_fiber.exe
│   │   ├── coroutine_libco_mytest.exe
│   │   ├── coroutine_mysetjump.exe
│   │   ├── coroutine_shared_stack.exe
│   │   ├── coroutine_shared_stack_lower.exe
│   │   ├── coroutine_switch.exe
│   │   └── coroutine_unshared_stack.exe
│   ├── test_asm
│   │   ├── Debug
│   │   │   ├── test_asm.Build.CppClean.log
│   │   │   ├── test_asm.log
│   │   │   └── test_asm.tlog
│   │   │   ├── custombuild.command.1.tlog
│   │   │   ├── custombuild.read.1.tlog
│   │   │   ├── custombuild.write.1.tlog
│   │   │   └── test_asm.lastbuildstate
│   │   ├── test.asm
│   │   ├── test_asm.vcxproj
│   │   └── test_asm.vcxproj.filters
│   └── x64
│   ├── Debug
│   │   ├── coroutine_mysetjump.exe
│   │   ├── coroutine_shared_stack.exe
│   │   ├── coroutine_shared_stack_lower.exe
│   │   └── coroutine_unshared_stack.exe
│   └── Release
│   ├── coroutine_shared_stack.exe
│   ├── coroutine_shared_stack_lower.exe
│   └── coroutine_unshared_stack.exe
├── linux内核协程函数汇编代码.rar
├── 云风共享栈协程库coroutine-master.zip
├── 腾讯开源协程库,微信后台使用libco-master.zip
└── 说明文件-必看!!!!--------------------------------------.txt

142 directories, 634 files

标签:

实例下载地址

windows下协程实现(fiber、汇编、非共享栈、共享栈)

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警