Sign in
fuchsia
/
third_party
/
swig
/
4f184500d760f01e0be56eafb4d35c01fa72deb6
/
.
/
Examples
/
test-suite
/
python
/
director_thread_runme.py
blob: 21a8ce1b0d78cdca8960422e8cab42846ec4c7bf [
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
:
raise
RuntimeError
(
"d.val: {}"
.
format
(
d
.
val
))
d
.
stop
()