Kaydet (Commit) 7fbb8973 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add debugging output (this file is experimental anyway)

üst 9d200b61
...@@ -605,6 +605,19 @@ void AndroidSalInstance::Wakeup() ...@@ -605,6 +605,19 @@ void AndroidSalInstance::Wakeup()
void AndroidSalInstance::DoReleaseYield (int nTimeoutMS) void AndroidSalInstance::DoReleaseYield (int nTimeoutMS)
{ {
// Presumably this should never be called at all except in
// NativeActivity-based apps with a GUI, like android/qa/desktop, where
// the message pump is run here in vcl?
if (!mpApp) {
static bool beenhere = false;
if (!beenhere)
{
fprintf (stderr, "**** Huh, %s called in non-NativeActivity app\n", __FUNCTION__);
beenhere = true;
}
return;
}
// release yield mutex // release yield mutex
sal_uLong nAcquireCount = ReleaseYieldMutex(); sal_uLong nAcquireCount = ReleaseYieldMutex();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment