Click here to Skip to main content
15,615,280 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQtConcurrent - how do I verify - "all the ducks in the row "? revised Pin
Member 1496877121-Mar-22 10:28
Member 1496877121-Mar-22 10:28 
AnswerRe: how do I verify - "all the ducks in the row "? Pin
k505421-Mar-22 11:09
mvek505421-Mar-22 11:09 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877121-Mar-22 15:28
Member 1496877121-Mar-22 15:28 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan21-Mar-22 22:38
mveRichard MacCutchan21-Mar-22 22:38 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877124-Mar-22 10:36
Member 1496877124-Mar-22 10:36 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505424-Mar-22 11:06
mvek505424-Mar-22 11:06 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877124-Mar-22 13:25
Member 1496877124-Mar-22 13:25 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan24-Mar-22 21:49
mveRichard MacCutchan24-Mar-22 21:49 
Looking at the documentation at Concurrent Run | Qt Concurrent 5.15.8[^], it suggests you should be able to write:
C++
QFuture<void> future_hci = QtConcurrent::run(
                        hci_inquiry,
                        dev_id,
                        len,
                        max_rsp,
                        NULL,
                        &ii,
                        flags);

But as k5054 already said, this is the C/C++ forum. For Qt issues you need to find a specialist forum. My feeling would be to write a small test program using the Qt run function with different parameters to check that it does work for the different situations. Once you overcome that issue then you should be able to focus more on the HCI stuff.
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877125-Mar-22 10:17
Member 1496877125-Mar-22 10:17 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505425-Mar-22 11:26
mvek505425-Mar-22 11:26 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877125-Mar-22 14:25
Member 1496877125-Mar-22 14:25 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877125-Mar-22 16:33
Member 1496877125-Mar-22 16:33 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505428-Mar-22 5:26
mvek505428-Mar-22 5:26 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877128-Mar-22 13:27
Member 1496877128-Mar-22 13:27 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan25-Mar-22 22:53
mveRichard MacCutchan25-Mar-22 22:53 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
trønderen25-Mar-22 12:58
trønderen25-Mar-22 12:58 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505426-Mar-22 5:07
mvek505426-Mar-22 5:07 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan25-Mar-22 22:51
mveRichard MacCutchan25-Mar-22 22:51 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877128-Mar-22 14:44
Member 1496877128-Mar-22 14:44 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877129-Mar-22 6:05
Member 1496877129-Mar-22 6:05 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505429-Mar-22 6:55
mvek505429-Mar-22 6:55 
QuestionHelp with calculating percentage in C Pin
ForNow20-Mar-22 5:37
ForNow20-Mar-22 5:37 
AnswerRe: Help with calculating percentage in C Pin
k505420-Mar-22 5:54
mvek505420-Mar-22 5:54 
GeneralRe: Help with calculating percentage in C Pin
ForNow20-Mar-22 6:47
ForNow20-Mar-22 6:47 
GeneralRe: Help with calculating percentage in C Pin
Calin Negru20-Mar-22 8:41
Calin Negru20-Mar-22 8:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.