一、with复合结构
with + 宾语(名词或代词)+ 宾补(介词短语、形容词、副词、现在分词、过去分词和不定式)
1.宾补为现在分词
Imagine you have a computer with multiple processes running simultaneously.
https://zhuanlan.zhihu.com/p/470051190
二、现在分词短语作状语
1.作结果状语,主句的动作导致了这个结果
He ran so fast, resulting in a win.
2.作时间状语
Seeing the cat, the mouse ran off.
3.作方式状语
(1).Switch Access lets you interact with your Android device using one or more switches instead of the touchscreen.
(2).The average of x elements is the sum of the x elements divided by x, using integer division.
4.作伴随状语,指分词的动作和主句动作同时发生,且补充说明主句动作的附加信息,
通常用逗号与主句隔开
(1).When a program wants to access a file, it makes a system call to the operating system,
passing in the name of the file and the mode in which it wants to open the file.
(2).Implement intuitive, accessible layouts, considering structure, color, and flow.
三、现在分词短语作后置定语
1.A process is an instance of a program running in a computer.