Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #10981 > unrolled thread

About my inventions that are my SemaMonitor and SemaCondvar..

Started byaminer68@gmail.com
First post2020-06-24 05:46 -0700
Last post2020-06-24 05:46 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.programming


Contents

  About my inventions that are my SemaMonitor and SemaCondvar.. aminer68@gmail.com - 2020-06-24 05:46 -0700

#10981 — About my inventions that are my SemaMonitor and SemaCondvar..

Fromaminer68@gmail.com
Date2020-06-24 05:46 -0700
SubjectAbout my inventions that are my SemaMonitor and SemaCondvar..
Message-ID<6262c8f2-a25b-4d9c-b2a4-e4026bb3583do@googlegroups.com>
Hello,


About my inventions that are my SemaMonitor and SemaCondvar..

My inventions that are my SemaMonitor and SemaCondvar are fast pathed when the count of my SemaMonitor or my SemaCondvar is greater than 0, so in this case they stay on the user mode and they do not switch from user mode to kernel mode that costs around 1500 CPU cycles and that is expensive, read here about it:

https://stackoverflow.com/questions/1368061/whats-the-cost-in-cycles-to-switch-between-windows-kernel-and-user-mode#:~:text=1%20Answer&text=Switching%20from%20%E2%80%9Cuser%20mode%E2%80%9D%20to,rest%20is%20%22kernel%20overhead%22.

You can read about and download my inventions of SemaMonitor and SemaCondvar from here:

https://sites.google.com/site/scalable68/semacondvar-semamonitor

And the light weight version is here:

https://sites.google.com/site/scalable68/light-weight-semacondvar-semamonitor


Thank you,
Amine Moulay Ramdane.

[toc] | [standalone]


Back to top | Article view | comp.programming


csiph-web