Rd7 Posted May 16, 2023 Report Share Posted May 16, 2023 Hello, I am learning SystemC and threading. I want to write a program using quickthread concept. I came across the official git repo (https://github.com/nakane1chome/SystemC-QuickThreads) but not able to find any example codes. It would be helpful if someone could point me towards related resources which will explain on how to use the quickthread library. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
David Black Posted May 16, 2023 Report Share Posted May 16, 2023 The whole point of SystemC is to avoid the need to know QuickThreads. You are very unlikely to find anyone here with that knowledge. You should look at the source code at the link you found. The README.md there has some details. Good luck! Quote Link to comment Share on other sites More sharing options...
Rd7 Posted May 16, 2023 Author Report Share Posted May 16, 2023 @David BlackThanks for the quick response. I am looking for some examples on how to use the QuickThead toolkit but not much on its underlying working. Thanks! Quote Link to comment Share on other sites More sharing options...
AmeyaVS Posted May 23, 2023 Report Share Posted May 23, 2023 @Rd7, if you don't have a tight dependency on using QuickThreads for Co-Routine support. I would probably prefer using C++20 co-routines details here: https://en.cppreference.com/w/cpp/language/coroutines. This would probably ensure your code to be portable across systems Windows, GNU/Linux, Mac, etc. where C++ compiler and their associated libraries support various C++ standards. Hope this helps. Regards, Ameya Vikram Singh maehne 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.