Sign in
android
/
platform
/
external
/
swig
/
7aafe3d8b2c8b138c431d5fcc98a4d2a7c3270f9
/
.
/
Examples
/
test-suite
/
python
/
director_thread_runme.py
blob: 4fcf3bfd104be05f253e5b3971bcdabe13010240 [
file
] [
log
] [
blame
]
from
director_thread
import
Foo
class
Derived
(
Foo
):
def
__init__
(
self
):
Foo
.
__init__
(
self
)
def
do_foo
(
self
):
self
.
val
=
self
.
val
-
1
d
=
Derived
()
d
.
run
()
if
d
.
val
>=
0
:
print
d
.
val
raise
RuntimeError
d
.
stop
()