update ms2, add message processing loop for windows

This commit is contained in:
Simon Morlat 2015-02-14 15:31:41 +01:00
parent 9b364df8f4
commit 4b2969559b
2 changed files with 10 additions and 1 deletions

@ -1 +1 @@
Subproject commit a9e3a984485ef8d22394d06fa75497296daa4c66
Subproject commit 07a8b569317d23e9442882be267d6640498a7b5e

View file

@ -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;