Re: [Hamlib-developer] rig.h changes
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Black M. <mdb...@ya...> - 2022-08-27 14:08:06
|
Going to be adding more internal threading....this is just the beginning of it. Will be adding rigctld as an internal server soon in it's own multiple-threading. The mutex's also help prevent problems when multiple clients are using the DLL. I'll check the project. Mike On Saturday, August 27, 2022 at 08:27:05 AM CDT, G0GJV <g0...@go...> wrote: The project is the Minos contest logger - https://sourceforge.net/projects/minos/ - and I'm building it from QtCreator using MSVC. It is released using 32 bit gcc, but I occasionally want to use the MSVC performance analysis tools. I suspect that this is all rather large for you to get into! Why does the threading in hamlib have to come across to the application? The application can do its own threading independent of hamlib. Mike G0GJV > Actually no -- we need to get pthreads working on MSVC otherwise hamlib > will not be compatible with MSVC at all. > There's more threading to come. > > What project are you compiling -- can you send it to me? > Mike > > > > On Saturday, August 27, 2022 at 06:56:23 AM CDT, G0GJV <g0...@go...> > wrote: > > Mike > > winpthreads.h hasn't made it into the overnight zip. > > When I add it manually, I find that it creates some serious clashes with Qt! > > Why do you need to expose pthreads to the application builder? It looks like it is just > for > > pthread_mutex_t mutex_set_transaction; > > Can't you put this somewhere else, and have a void * to point to it in rig.h? This would > remove the need for a large #include, and would compile easily everywhere. > > Mike G0GJV > > > Thanks Mike - I'll give it a try > > > > Mike > > > > > Try the 20220827 download when it's available > tomorrow.http://n0nb.users.sourceforge.net > > > > > > You'll need to add the new winpthreads.h file to your project files. > > > Mike W9MDB _______________________________________________ Hamlib-developer mailing list Ham...@li... https://lists.sourceforge.net/lists/listinfo/hamlib-developer |