Multiprocessing - multitasking and multiprocessing notes

In the previous section, we talked about the concept of multiprocessing. Just look at multithreading in the previous section. Multi process mainly uses multiprocessing library. The main code flow is as follows 1. Import library: import multiprocessing 2. Create process: t1 = multiprocessing.Process(target=test1) t1.start() import multiprocessi ...

Posted by ManicMax on Sat, 04 Sep 2021 14:40:11 -0700

Abstract data type

1, Concept Table List [interface, implemented]: a sequence (ordered set) composed of N elements of data elements A1, A2, A3... An. There is a precursor successor relationship between data elements. A special table of size 0 is called an empty tableTable implementation Implementation of growable array: once the array is created, it is im ...

Posted by phpcat on Fri, 03 Sep 2021 12:22:04 -0700