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