|
|
@c19ca4b
|
20 months |
pabuhr |
add comment about why no #pragma once
ADTast-experimental
|
|
|
@a96ce07
|
20 months |
pabuhr |
comment out #pragma once to fix build
ADTast-experimental
|
|
|
@5e4a830
|
20 months |
pabuhr |
add #pragma once to .h and .hfa files
ADTast-experimental
|
|
|
@0348fd8
|
22 months |
caparson |
fixed clh bug where you couldn't hold more than 1 clh lock at once
ADTast-experimental
|
|
|
@dd46fd3
|
2 years |
pabuhr |
generalization of PRNG
ADTast-experimental
|
|
|
@9fce2572
|
2 years |
pabuhr |
32-bit update of PRNG
ADTast-experimental
|
|
|
@d2ad151
|
2 years |
pabuhr |
major update of PRNG
ADTast-experimental
|
|
|
@639e4fc
|
2 years |
Thierry Delisle |
Changed cluster link to use explicit type to avoid anonymous names in …
ADTast-experimental
|
|
|
@6a4ef0c
|
2 years |
Thierry Delisle |
Changed cltr_link to use explicit field name to make gdb easier
ADTast-experimental
|
|
|
@cd5b58f
|
2 years |
Thierry Delisle |
Changed node link in thread to use dlink called cltr_link
ADTast-experimental
|
|
|
@15c93d8
|
2 years |
Thierry Delisle |
Renamed ready-queue link fields to rdy_link
ADTast-experimental
|
|
|
@be5f0a5
|
2 years |
Thierry Delisle |
Changed monitors to use the user_link instead of the ready_link
ADTast-experimental
|
|
|
@2856982c
|
2 years |
Thierry Delisle |
Changed implicit dlink field in thread$ to have name uxer_link
ADTast-experimental
|
|
|
@878cfcc
|
2 years |
Thierry Delisle |
Added extra check to make sure threads is never double executed
ADTast-experimental
|
|
|
@f835806
|
2 years |
caparson |
added some locks and cleaned up unused seqable field in thread block
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@2210cfc
|
3 years |
pabuhr |
second attempt at specialized PRNG
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@eaf269d
|
3 years |
pabuhr |
add enum DEFAULT_STACK_SIZE in invoke.h and replace 65000 with enum, …
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@24e321c
|
3 years |
Thierry Delisle |
Unpark now takes a hint on locality.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@abcae55
|
3 years |
Thierry Delisle |
Removed last_cpu (and small spacing changes)
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@c86ee4c
|
3 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@1f45c7d
|
3 years |
Thierry Delisle |
Now tracking cpu migrations using push_stat.
Some minor fixes to the …
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@e84ab3d
|
3 years |
Thierry Delisle |
Step 1 of changing $thread to thread$
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@bae0d35
|
3 years |
caparson |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ab5baab
|
3 years |
Thierry Delisle |
Attempt to fix the stack checker for when coroutines are interrupted …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@82f4063
|
3 years |
caparson |
switched unified locking to use dlist
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d3ba775
|
3 years |
Thierry Delisle |
More clean-up after new subqueue
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@f6fdfb14
|
3 years |
Thierry Delisle |
Removed old sub-queue
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@89eff25
|
4 years |
Thierry Delisle |
Some changes to stats and added back preferred
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@9cc3a18
|
4 years |
Thierry Delisle |
Major clean-up before attempting to add new scheduler
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d3314ae
|
4 years |
Thierry Delisle |
Threads can now be queued onto the lock-free queues directly.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@304de00
|
4 years |
Thierry Delisle |
Added queueLockFree which contains two lockfree queue based on MCS.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d25b2d6
|
4 years |
caparsons |
small cleanup
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@c131a02
|
4 years |
caparsons |
added support for threads in sequence
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@3ea8ad1
|
4 years |
Thierry Delisle |
Added more checks for thread termination synchronization
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ac12f1f
|
4 years |
Thierry Delisle |
canary is now a void * so it prints in hexa in gdb
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@6a77224
|
4 years |
Thierry Delisle |
Changed park/unpark ticket to be -1,0,1 instead of 0,1,2 because it's …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b4b63e8
|
4 years |
Thierry Delisle |
Fixed missing changes to park/unpark.
Added canary to threads to check …
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
|
|
|
@038110a
|
4 years |
Thierry Delisle |
Fixed typos and added thread/monitor/coroutine wrapper for gdb
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@1c01c58
|
4 years |
ajbeach |
Rather large commit to get coroutine cancellation working.
This …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d119d613
|
4 years |
ajbeach |
Reorganized the exception and concurrency overlap.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@5715d43
|
4 years |
ajbeach |
Exceptions now get their context differently with libcfathread. Added …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@80ec409
|
4 years |
ajbeach |
The exception context is now stored on the stack. It is not used just yet.
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
|
|
|
@7812a7b5
|
4 years |
Thierry Delisle |
Fixed errors and warning with x86 build
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@bdce852
|
4 years |
Thierry Delisle |
Switched RNG from lehmer64 to wyhash64 for 32-bit builts
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d72c074
|
4 years |
Thierry Delisle |
Added option to bias threads to queues, instead of processors to queues
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@13c5e19
|
4 years |
Thierry Delisle |
- Moved snzi and subqueues outside of ready_queue.cfa.
- Added …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@37ba662
|
4 years |
Thierry Delisle |
Minor improvements to alignments and memory layout
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
|
|
|
@ff79d5e
|
4 years |
Thierry Delisle |
Fixed park unpark to support park as first step of main()
Fixes #170?
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@1b143de
|
4 years |
Thierry Delisle |
Several fixes to relaxed_ready queue
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
|
|
|
@ae7be7a
|
5 years |
Thierry Delisle |
Fixed incorrect setting of ready state and added result to previous …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ae66348
|
5 years |
Thierry Delisle |
Threads in debug now keep track of last function to park/unpark it
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@210b8b3
|
5 years |
Thierry Delisle |
Added checks that the stack pointer is consistent when running and …
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
|
|
|
@b0c7419
|
5 years |
Thierry Delisle |
Yield now uses force_yield instead of park/unpark.
Final ctxswitch of …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@50b8885
|
5 years |
Thierry Delisle |
Removed owner reason from monitors which was only for debug and did …
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
|
|
|
@f80f840
|
5 years |
Thierry Delisle |
Merge branch 'master' into relaxed_ready
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b798713
|
5 years |
Thierry Delisle |
Working ready queue
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
|
|
|
@121be3e
|
5 years |
pabuhr |
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
|
|
|
@7768b8d
|
5 years |
Thierry Delisle |
First step at adding the new ready queue to Cforall
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@21184e3
|
5 years |
Thierry Delisle |
Added Thread-Local random number generator to kernel which will be …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@3623f9d
|
5 years |
Thierry Delisle |
Fixed warning in libcfa
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d4e68a6
|
5 years |
pabuhr |
move location of active_xxx routines, and counter for number …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@63364d8
|
5 years |
Thierry Delisle |
Removed suspend_then since I believe it cannot be made correct
ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@5b11c25
|
6 years |
Thierry Delisle |
Added new suspen_then function which runs a callback in the middle of …
ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ffe2fad
|
6 years |
Thierry Delisle |
Fixed several warnings in libcfa
ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@deca0f5
|
6 years |
Thierry Delisle |
x87 and SSE flags are now only saved by threads
ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@3c06bba
|
6 years |
Thierry Delisle |
Inlined coroutine context switch routine
ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@5c1a531
|
6 years |
Thierry Delisle |
Fixed errno virtualization and enabled preemption during coroutine …
ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@e8e457e
|
6 years |
Thierry Delisle |
Thread context is now distinct from coroutine context
ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@69a61d2
|
6 years |
Thierry Delisle |
coroutine and thread no longer store stack size
ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@8c01e1b
|
6 years |
Thierry Delisle |
UserStack? flag on coroutines is now folded into the storage pointer
ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b2f6113
|
6 years |
Thierry Delisle |
Swapped memory storage for context and stack information inside the …
ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@212c2187
|
6 years |
Thierry Delisle |
Removed kernelTLS.this_coroutine which was redundant and some …
ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@76e069f
|
6 years |
Thierry Delisle |
Implemented stack unwinding on coroutine termination
ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
|
|
|
@f23b685
|
6 years |
Thierry Delisle |
added some comments and moved a line to ease coroutine cancellation
ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
|
|
|
@afc2427
|
6 years |
Thierry Delisle |
Use initial exec for thread local storage
ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-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
|
|
|
@bf71cfd
|
6 years |
Thierry Delisle |
Moved up many directories in source
ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
|