blob: 99a5e2b1b3b65f4128ddadd775c48367a1e74161 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# no standard tests in this file, ignore
__test__ = False
if __name__ == '__main__':
import eventlet
from eventlet import patcher
patcher.monkey_patch()
from eventlet import tpool
print("child {0}".format(tpool.execute(len, "hi")))
print("child {0}".format(tpool.execute(len, "hi2")))
tpool.killall()
|