|
|
@01ba701
|
2 years |
Thierry Delisle |
Purged "thread_local" from code base.
Replaced with C11's …
ADTast-experimentalpthread-emulation
|
|
|
@fbb930e
|
2 years |
Thierry Delisle |
Added option to explicitly poll interrupts.
Usefull in cases using …
ADTast-experimentalpthread-emulation
|
|
|
@c18bf9e
|
2 years |
Thierry Delisle |
Visibility concurrency
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@708ae38
|
3 years |
Thierry Delisle |
Some more cleanup and grow/shrink now readjusts io timestamps.
(They …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@1860885
|
3 years |
Thierry Delisle |
Messed-up last commit...
This commit : moved preempt reason to …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@778315e
|
3 years |
pabuhr |
add attribute no-reorder-blocks to preemption_enabled to prevent …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@250583e
|
3 years |
Thierry Delisle |
Some clean-up after preemption fix
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@becb85b9
|
3 years |
Thierry Delisle |
Attempt to fix preemption deadlock.
No longer prevent preemption …
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@941e14a
|
3 years |
Thierry Delisle |
Added statistics for preemption
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@e84ab3d
|
3 years |
Thierry Delisle |
Step 1 of changing $thread to thread$
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@43784ac
|
3 years |
Thierry Delisle |
Changed libcfathread to consistently define _GNU_SOURCE
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@c457dc41
|
3 years |
Thierry Delisle |
Fix sequential handling of timers
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@c9ec301
|
4 years |
Thierry Delisle |
Fix debug printing with alarms
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@357fae8
|
4 years |
Thierry Delisle |
Fixed bad copy paste
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@7222630
|
4 years |
Thierry Delisle |
Small refector so only preemption cares about signal
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@ead174a
|
4 years |
Thierry Delisle |
Fixed implementation of TLS protection for aarch64
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@eeb5023
|
4 years |
caparsons |
added full timeout functionality to unified condition variables
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@4b30e8cc
|
4 years |
caparsons |
added callback support
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@e9b49379
|
4 years |
pabuhr |
update for 32-bit ARM
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@97cba9f
|
4 years |
pabuhr |
fix comment
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@482fa08
|
4 years |
pabuhr |
correctly set CFA_REG_IP for ARM 64-bit
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@8b58bae
|
4 years |
Thierry Delisle |
Merge branch 'master' into relaxed_ready
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@6a490b2
|
4 years |
Thierry Delisle |
Merge branch 'master' into relaxed_ready
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d3ab183
|
4 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
|
|
|
@c59a346
|
5 years |
Thierry Delisle |
Minor fixes to I/O
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@185efe6
|
5 years |
Thierry Delisle |
Some small fixes for the io code
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@2d8f7b0
|
5 years |
Thierry Delisle |
Implemented basic non-blocking io
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@c7a900a
|
5 years |
Thierry Delisle |
More renames and clean-ups
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@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
|
|
|
@9f575ea
|
5 years |
Thierry Delisle |
First attempt at park/unpark
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|