Marcel Holtmann
2018-09-23 10:37:29 UTC
Hi Giacinto,
Regards
Marcel
was it necessary to remove entirely the NEED_THREADS flag?
I was going to use it in the Gemalto driver, to speed up the device recognition, because for some modules it is hit and miss.
But only as an optional feature, because in some systems it might be missing.
Also, for some high-speed modems which take long to boot, there is a potential critical race in the recognition that the use threads can solve easily. The alternative is to increase the internal timers a lot.
I likely need to add a new flag for it.
using threads is not the solution. This can be all done properly with single thread event loop driven methods.I was going to use it in the Gemalto driver, to speed up the device recognition, because for some modules it is hit and miss.
But only as an optional feature, because in some systems it might be missing.
Also, for some high-speed modems which take long to boot, there is a potential critical race in the recognition that the use threads can solve easily. The alternative is to increase the internal timers a lot.
I likely need to add a new flag for it.
Regards
Marcel