Sign in
fuchsia
/
third_party
/
swig
/
3f3073547804f2e112085429ddfb691beba5a2ba
/
.
/
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
()