From b7f409aa775bfe11f893e92d6fdbb4e30425413e Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Tue, 29 Aug 2023 21:18:21 +0100 Subject: [PATCH] [*] Further belittle this --- Media/Condvar and other reodering of thread primitives.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Media/Condvar and other reodering of thread primitives.txt b/Media/Condvar and other reodering of thread primitives.txt index adc6f7b7..41f1014f 100644 --- a/Media/Condvar and other reodering of thread primitives.txt +++ b/Media/Condvar and other reodering of thread primitives.txt @@ -48,6 +48,7 @@ * To implement ordering, is to implement cache-thrashing and increased context-switching for an abstract idea of "correctness" that doesn't apply to real code or performance goals. * (spoilers: your work pool of uniform priorities couldn't care less which thread wakes up first, nor does a single waiter pattern, but your end product will certainly bleed performance with yield thrashing) * ( : the same can be said for semaphores; what part of waiting while an available work count is zero needs ordering?) + * ( : yield thrashing, that might i add, serves no purpose other than to get the right thread local context and decoupled-from-parent thread id of a context on a given physical core of a highly limited set) * *--------------------------------------------- * The fix[es]: