mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
update ms2, add message processing loop for windows
This commit is contained in:
parent
9b364df8f4
commit
4b2969559b
2 changed files with 10 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit a9e3a984485ef8d22394d06fa75497296daa4c66
|
||||
Subproject commit 07a8b569317d23e9442882be267d6640498a7b5e
|
||||
|
|
@ -211,6 +211,15 @@ bool_t wait_for_list(MSList* lcs,int* counter,int value,int timeout_ms) {
|
|||
#endif
|
||||
linphone_core_iterate((LinphoneCore*)(iterator->data));
|
||||
}
|
||||
#ifdef WIN32
|
||||
{
|
||||
MSG msg;
|
||||
while (PeekMessage(&msg, NULL, 0, 0,1)){
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
ms_usleep(20000);
|
||||
}
|
||||
if(counter && *counter<value) return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue