我的任务是为某些客户端服务器创建流程图并在我们的组织软件中启动流程。我们的许多流程同时运行,因为它们彼此之间没有影响。这在传统上是如何在流程图中表示的?
最佳答案
我在想流程图并不是真正用于此目的,但事实证明,实际上有一种并发表示法。 Wikipedia说:
Concurrency symbol
Represented by a double transverse line with any number of entry and exit arrows. These symbols are used whenever two or more control flows must operate simultaneously. The exit flows are activated concurrently, when all of the entry flows have reached the concurrency symbol. A concurrency symbol with a single entry flow is a fork; one with a single exit flow is a join.
我在谷歌图片上环顾四周,发现了这个符号:
但这仅适用于特定类型的并行性(如果您不一次生成所有线程怎么办?),并且根本不适用于多进程模型。在多进程模型的情况下,我只会为每个进程制作一个单独的流程图。
关于workflow - 如何在流程图中表示多个线程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13074620/