Replies: 4 comments
-
|
BTW: Here is a link to godbolt.org showing the use of cmpxchg16b: |
Beta Was this translation helpful? Give feedback.
-
|
Hi Stephen,
Thank you for the email and the porting work.
I will definetly take a look into both links and let you know how we can
proceed towards a PR.
May I ask in which industry / environment are you using the queue /
modified queue?
best whichs,
Erez
…On Sun, May 18, 2025, 02:08 Stephen L. De Rudder ***@***.***> wrote:
BTW: Here is a link to godbolt.org showing the use of cmpxchg16b:
https://godbolt.org/z/Gqo9eEc1M
—
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABH5IVQQLJFRKWAVB5AUNJT267FOPAVCNFSM6AAAAAB5LC26ICVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMJYGE3DQNA>
.
You are receiving this because you are subscribed to this thread.Message
ID: <erez-strauss/lockfree_mpmc_queue/repo-discussions/8/comments/13181684
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
|
I did the port for fun. I have always enjoyed programming in a multithreaded, multiprocess, multisystem environments. When I noticed, it wasn't ported to Windows, I thought it would be a fun exercise to port it to my preferred platform. While I could see some uses at work, they are not using it. I work for a software company that monitors systems and monitors user connections to the systems. Laters, |
Beta Was this translation helpful? Give feedback.
-
|
Such as softwarecaster website |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I watched your latest lockfree_mpmc_queue CppCon video, and you mentioned that it hasn't worked on Windows. Well, I ported it to Windows and it works. I need to cleanup some of the rough edges and get the report script running in PowerShell. Take a look and let me know what you think. I did use the MSVC intrinsic _InterlockedCompareExchange128 that uses cmpxchg16b. I also used the Microsoft supplied std::_Unsigned128 and std::_Signed128 classes.
Its forked at: https://github.com/sldr/lockfree_mpmc_queue
After some more work if you are interested, I would be happy to send you a pull request to merge my port back into the original.
Laters,
SLDR
(Stephen L. De Rudder)
Beta Was this translation helpful? Give feedback.
All reactions