slembcke / tina Goto Github PK
View Code? Open in Web Editor NEWTina is a teeny tiny, header only, coroutine and job library.
License: MIT License
Tina is a teeny tiny, header only, coroutine and job library.
License: MIT License
Is it possible to get a status of coroutine (running, suspended, dead, etc.)?
Hello there,
I'm currently implementing tina in my fiber based job library.
It worked fine on OSX but on windows I get a heap corruption when I try to free any coroutine memory that had finished running.
I also tried out the the main.c from this reposatory, this end up with an memory read error when it frees the coroutine.
PS:
I needed to change tina.h in line 191 to what you see below to make it compile
#elif __WIN64__ || defined(_WIN64)
Edit:
In a test I passed memory with overflow protection to tina and it immediately throws an exception when _tina_context is called
Is there a way to create job dependencies and have a more complex job spawning/waiting?
(example: https://github.com/google/marl/blob/main/examples/tasks_in_tasks.cpp)
Two new issues seem to have come up in newer versions of MSVC++:
foo = (bar){.a = 1, .b = 2}
)Should be fixed via 0e57681
Is there a 'parallel_for' helper function that you use all the time?
How suitable are coroutines for asynchronous IO?
In particular, what I have in mind is texture caching / loading.
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.