You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I figured out how to make templates in C89 AND how to potentially syncronise threads via a linked list (no mutices, semaphores, atomics etc) and figured maybe they could both be used to make linux even better than it already is.
For the template one I'll point to code actually using it for fixed width (not bit width, simply that they can be statically declared) integers:
As for the linked list thread syncronisation, the code I have is not in actual use simply because I feel like I missed something that should be considered, perfectly happy to let the technique be copied if I haven't though, all under MIT License:
And just in case the files do change in the future, here's the "historic" versions (I just went into file history and copied the latest hashed address):
I figured out how to make templates in C89 AND how to potentially syncronise threads via a linked list (no mutices, semaphores, atomics etc) and figured maybe they could both be used to make linux even better than it already is.
For the template one I'll point to code actually using it for fixed width (not bit width, simply that they can be statically declared) integers:
https://gitlab.com/awsdert/dragonbuilder/-/blob/main/include/paw/pawint/pawe128d.h
As for the linked list thread syncronisation, the code I have is not in actual use simply because I feel like I missed something that should be considered, perfectly happy to let the technique be copied if I haven't though, all under MIT License:
https://gitlab.com/awsdert/dragonbuilder/-/blob/main/include/paw/_/all/all_pawsyn.h
And just in case the files do change in the future, here's the "historic" versions (I just went into file history and copied the latest hashed address):
https://gitlab.com/awsdert/dragonbuilder/-/blob/bfc5ef629fa59e8a32f299ca9f921acb464e2b03/include/paw/pawint/pawe128d.h
https://gitlab.com/awsdert/dragonbuilder/-/blob/8c15b7e4983142d4226c3a482e6029edcc908f8e/include/paw/_/all/all_pawsyn.h
Please do let me know if either happened to be useful
The text was updated successfully, but these errors were encountered: