septag / deboost.context Goto Github PK
View Code? Open in Web Editor NEW"Deboostified" version of boost.context (coroutines), Plain and simple C API for context switching. Easy build on multiple platforms.
License: MIT License
"Deboostified" version of boost.context (coroutines), Plain and simple C API for context switching. Easy build on multiple platforms.
License: MIT License
Hi,
I compared the assembly in the project (particularly make_x86_64_ms_pe_masm.asm
), and it seems a out of date. From what I can tell, amongst the things that have been added is SEE register storage.
It could be useful to sync with boost.context, I think?
(I'm not very comfortable with assembly, or I would have sent a pull request.)
glibc 2.34 sets the SIGSTKSZ
constant to -1
when _GNU_SOURCE
or _SC_SIGSTKSZ_SOURCE
are defined: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=6c57d320484988e87e446e2e60ce42816bf51d53
This caused a number of issues in various projects, e.g., vim/vim#7895. It also breaks the default stack size logic when using create_fcontext_stack(0)
. The suggested alternative is apparently sysconf(_SC_SIGSTKSZ)
, which has the downside of being GNU/Linux specific.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.