gevent
greenlet -> virtual thread instance
gevent.pool.Pool(3) # limit concurrent thread to 3,
#habis satu baru run satu lagi
pool.spawn(function_name)
greenlet -> virtual thread instance
gevent.pool.Pool(3) # limit concurrent thread to 3,
#habis satu baru run satu lagi
pool.spawn(function_name)
No comments:
Post a Comment
Terima kasih