source: libcfa/src/concurrency/preemption.cfa

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @5a05946   18 months caparson cleanup up locks files and fixed a minor whitespace issue in preemption.cfa ADTast-experimental
(edit) @f5f2768   21 months pabuhr make _GNU_SOURCE default, change IO to use SOCKADDR_ARG and … ADTast-experimental
(edit) @df6cc9d   2 years Thierry Delisle Merge branch 'master' into pthread-emulation ADTast-experimental
(edit) @926d358   2 years Thierry Delisle Removed old asm_labels. Modified preemption check to no longer poll … ADTast-experimental
(edit) @1756e08   2 years Thierry Delisle Added some defensive programming to work around parsing bug ADTast-experimental
(edit) @95dab9e   2 years Thierry Delisle Changed real_pthread symbols (now cfaabi_pthread) to be protected in … ADTast-experimentalpthread-emulation
(edit) @7f6a7c9   2 years Thierry Delisle Merge branch 'master' into pthread-emulation ADTast-experimentalpthread-emulation
(edit) @b443db0   2 years Thierry Delisle Change how no preempts zone are implemented. From begin/end tags to … ADTast-experimentalpthread-emulation
(edit) @1bcbf02   2 years Thierry Delisle Changed declarations using _Thread_local to use thread. I'm fairly … ADTast-experimentalpthread-emulation
(edit) @01ba701   2 years Thierry Delisle Purged "thread_local" from code base. Replaced with C11's … ADTast-experimentalpthread-emulation
(edit) @fbb930e   2 years Thierry Delisle Added option to explicitly poll interrupts. Usefull in cases using … ADTast-experimentalpthread-emulation
(edit) @428adbc   2 years z277zhu fix pthread_sig* interpose problems; add test doc Signed-off-by: … ADTast-experimentalpthread-emulation
(edit) @c18bf9e   3 years Thierry Delisle Visibility concurrency ADTast-experimentalpthread-emulationqualifiedEnum
(edit) @708ae38   3 years Thierry Delisle Some more cleanup and grow/shrink now readjusts io timestamps. (They … ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @1860885   3 years Thierry Delisle Messed-up last commit... This commit : moved preempt reason to … ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @778315e   3 years pabuhr add attribute no-reorder-blocks to preemption_enabled to prevent … ADTast-experimentalenumpthread-emulationqualifiedEnum
(edit) @250583e   3 years Thierry Delisle Some clean-up after preemption fix ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @becb85b9   3 years Thierry Delisle Attempt to fix preemption deadlock. No longer prevent preemption … ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @941e14a   3 years Thierry Delisle Added statistics for preemption ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @e84ab3d   3 years Thierry Delisle Step 1 of changing $thread to thread$ ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @43784ac   3 years Thierry Delisle Changed libcfathread to consistently define _GNU_SOURCE ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c457dc41   4 years Thierry Delisle Fix sequential handling of timers ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c993b15   4 years Thierry Delisle Changed RW lock to avoid hitting the global array on schedule. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a3821fa   4 years Thierry Delisle Changed enable interrupts: - no longer save the caller for debugging … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a33c113   4 years Thierry Delisle Minor changes so using the global RWlock is more concise. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b0904bf   4 years Thierry Delisle Removed alarm stats, they are now tallied directly into the cluster ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c9ec301   4 years Thierry Delisle Fix debug printing with alarms ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @357fae8   4 years Thierry Delisle Fixed bad copy paste ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @1c6e1ec   4 years Thierry Delisle Cforall now uses CFA_DEFAULT_PREEMPTION environment variable to … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @6047b00   4 years Thierry Delisle Removed SA_RESTART from preemption since it seems to cause more … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @92bfda0   4 years Thierry Delisle Revisited abort again to be more streamlined and simple. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @7222630   4 years Thierry Delisle Small refector so only preemption cares about signal ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @bb58825   4 years Thierry Delisle io_uring_register is so debilitatingly slow on some machines I have to … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @297cf18   4 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @bfcf6b9   4 years Thierry Delisle Stacks are always created with mmap to control page permission ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @adf34b3   4 years Thierry Delisle check_preemption is now one of the interrupt protected functions. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a12810d   4 years Thierry Delisle static variables in preemption_ready() seem to be able to lead to a … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a0ba5e6   4 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @1b033b8   4 years Thierry Delisle Alarm loop now has it's own stats block ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b5344a3   4 years Thierry Delisle Fixed warning about single line comment over multiple lines ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ead174a   4 years Thierry Delisle Fixed implementation of TLS protection for aarch64 ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @82a2fed   4 years Thierry Delisle Changed preemption to use code sections rather than atomic access to TLS. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @54dcab1   4 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @8fc652e0   4 years Thierry Delisle Change usage of TLS to more strongly segregate in kernel and out of … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @231b18f   4 years pabuhr add documentation describing the race on the ARM processor accessing … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @eeb5023   4 years caparsons added full timeout functionality to unified condition variables ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c28ea4e   4 years caparsons Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @4b30e8cc   4 years caparsons added callback support ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e873838   4 years Thierry Delisle Removed unpark and added support for unpark from the kernel … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e235429   4 years Thierry Delisle Removed last parker/unparker information is it was not particularly useful ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @58d64a4   4 years Thierry Delisle processor_id_t now have a bool to state if it is a full processor. … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e9b49379   4 years pabuhr update for 32-bit ARM ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @97cba9f   4 years pabuhr fix comment ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @482fa08   4 years pabuhr correctly set CFA_REG_IP for ARM 64-bit ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @95789be   4 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @3e2b9c9   4 years Thierry Delisle More restructuring of translation units Unclear if it improves … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e660761   4 years Thierry Delisle First attempt at reducing complation time by restructuring the code. … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b81fd95   4 years mlbrooks Fix bug where pointer and reference types allow unsound initialization … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @8e9e9a2   4 years Thierry Delisle Added assert to check for non-processors enabling preemption. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @8b58bae   4 years Thierry Delisle Merge branch 'master' into relaxed_ready ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c1ee231   4 years pabuhr remove extern "C" from include files protected in CFA stdhdr directory ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @8834751   4 years Thierry Delisle Moved statistics to stats.cfa to combine ready Q stats and IO stats ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @9b1dcc2   4 years Thierry Delisle Changed scheduling API to adapt to non-Processors scheduling threads. ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @6a490b2   5 years Thierry Delisle Merge branch 'master' into relaxed_ready ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @d3ab183   5 years mlbrooks Using dlist in alarm. Minimal interface changes in alarm.hfa applied; … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c59a346   5 years Thierry Delisle Minor fixes to I/O ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @185efe6   5 years Thierry Delisle Some small fixes for the io code ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @2d8f7b0   5 years Thierry Delisle Implemented basic non-blocking io ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ac2b598   5 years Thierry Delisle Changed descriptors for concurrency to use $ prefix instead of … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c7a900a   5 years Thierry Delisle More renames and clean-ups ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @8c50aed   5 years Thierry Delisle Some clean-up and renaming, also adding attribute((const/pure)) … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @3381ed7   5 years Thierry Delisle Added park/unpark primitives thread and removed BlockInternal?. … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @9f575ea   5 years Thierry Delisle First attempt at park/unpark ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c84b4be   5 years Thierry Delisle new ready queue seems to work but halting does not, had to be disabled ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @09d4b22   5 years pabuhr move stack for preemptive pthread from TLS to static variable ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @1805b1b   5 years pabuhr refactor pthread_create into create_pthread, change NULL to 0p ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @27f5f71   5 years pabuhr explicitly create stack for pthread thread, change NULL to 0p ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @2026bb6   5 years Thierry Delisle More robust fix for optionally linking threads ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @73abe95   6 years Thierry Delisle Replace extension-less headers with .hfa ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
(add) @ba9baad   6 years Thierry Delisle Simplified some of the handling by converting libcfa sources from .c … ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Note: See TracRevisionLog for help on using the revision log.