Multi-threaded and object

xiaoxiao2021-03-06  56

You can write a method of multi-threaded processing into a method in the class, regenerate into multiple objects, which can be processed separately.

DIM POP AS New Mmail ("263.net", "110", "Jetz", "**") Dim Thr as threading.thread = new threading.thread (addressof pop.getandanalyse) thr.start () Dim Pop2 AS New mmail ("pop.mail.yahoo.com.cn", "110", "jetz", "***") Dim Thr2 as threading.thread = new threading.thread (addressof pop2.getandanalyse) thr2.start ( )

转载请注明原文地址:https://www.9cbs.com/read-117287.html

New Post(0)