/soc/2012/michael/android: 83758273e327: Made glib thread wait u...

Michael Zangl michael at soc.pidgin.im
Tue Aug 7 07:13:33 EDT 2012


Changeset: 83758273e3271dc322208817f65157bd3b81900a
Author:	 Michael Zangl <michael at soc.pidgin.im>
Date:	 2012-08-07 12:44 +0200
Branch:	 soc.2012.android
URL: http://hg.pidgin.im/soc/2012/michael/android/rev/83758273e327

Description:

Made glib thread wait until the input closure was handled.

diffstat:

 android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/core/EventLoop.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/core/EventLoop.java b/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/core/EventLoop.java
--- a/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/core/EventLoop.java
+++ b/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/core/EventLoop.java
@@ -148,7 +148,7 @@ public class EventLoop extends AbstractP
 	private native boolean exeucte_native(long function, long data);
 
 	public void ioInvoke(long function, long data, int fd, int cond) {
-		getManager().getThread().schedule(new IoInvokeRunner(function, data, fd, cond));
+		getManager().getThread().scheduleAndWaitForUninterruptable(new IoInvokeRunner(function, data, fd, cond));
 	}
 	
 	private static class IoInvokeRunner extends AbstractWaitableRunnable {



More information about the Commits mailing list