[libbluray-devel] Added wrapper for Thread.stop() (does not exist in PhoneME)
hpi1
git at videolan.org
Tue Apr 9 22:15:19 CEST 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Apr 9 10:31:31 2013 +0300| [06c66c58c1783bb44384fac8a0f4dd07872e7b0f] | committer: hpi1
Added wrapper for Thread.stop() (does not exist in PhoneME)
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=06c66c58c1783bb44384fac8a0f4dd07872e7b0f
---
.../bdj/java-j2me/org/videolan/PortingHelper.java | 29 ++++++++++++++++++
.../bdj/java-j2se/org/videolan/PortingHelper.java | 31 ++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/src/libbluray/bdj/java-j2me/org/videolan/PortingHelper.java b/src/libbluray/bdj/java-j2me/org/videolan/PortingHelper.java
new file mode 100644
index 0000000..b8b4ffc
--- /dev/null
+++ b/src/libbluray/bdj/java-j2me/org/videolan/PortingHelper.java
@@ -0,0 +1,29 @@
+/*
+ * This file is part of libbluray
+ * Copyright (C) 2013 Petri Hintukainen <phintuka at users.sourceforge.net>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see
+ * <http://www.gnu.org/licenses/>.
+ */
+
+package org.videolan;
+
+public class PortingHelper {
+
+ public static void stopThread(Thread t) {
+ }
+
+ public static void stopThreadGroup(ThreadGroup t) {
+ }
+}
diff --git a/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java b/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java
new file mode 100644
index 0000000..b416ec0
--- /dev/null
+++ b/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java
@@ -0,0 +1,31 @@
+/*
+ * This file is part of libbluray
+ * Copyright (C) 2013 Petri Hintukainen <phintuka at users.sourceforge.net>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see
+ * <http://www.gnu.org/licenses/>.
+ */
+
+package org.videolan;
+
+public class PortingHelper {
+
+ public static void stopThread(Thread t) {
+ t.stop();
+ }
+
+ public static void stopThreadGroup(ThreadGroup t) {
+ t.stop();
+ }
+}
More information about the libbluray-devel
mailing list