并发模型列表

– 我想要一个大的列表,所以我可以参考这个想法。一些答案已经开启了

什么是一些并发模型?我听说过没有内存共享的消息传递。期货,它立即返回一个对象(所以它没有阻止),并允许您在需要阻塞时,如果结果尚未准备就可以取消引用原始函数返回值。我听说过协同程序,软件交易记忆和随机的记忆。

我搜索了一个列表或一个维基,并且找不到任何好的(许多没有列出我上面提到的3),许多结果给了我一个复杂的描述,说明它是如何工作,而不是它做什么或如何被使用。

什么是一些并发模型,什么是他们做什么的简单描述?一个答案。

COM Threading (Concurrency) Model

>单线公寓
>多线公寓
>混合模式开发

COM objects can be used in multiple threads of a process. The terms
Single- threaded Apartmen*t” (STA) and
*Multi-threaded Apartment
” (MTA) are
used to create a conceptual framework
for describing the relationship
between objects and threads, the
concurrency relationships among
objects, the means by which method
calls are delivered to an object, and
the rules for passing interface
pointers among threads. Components and
their clients choose between the
following two apartment models
presently supported by COM:

Single-threaded Apartment model (STA):
One or more threads in a process use
COM and calls to COM objects are
synchronized by COM. Interfaces are
marshaled between threads. A
degenerate case of the single-threaded
apartment model, where only one thread
in a given process uses COM, is called
the single-threading model. Previous
Microsoft information and
documentation has sometimes referred
to the STA model simply as the
“apartment model.” Multi-threaded
Apartment model (MTA): One or more
threads use COM and calls to COM
objects associated with the MTA are
made directly by all threads
associated with the MTA without any
interposition of system code between
caller and object. Because multiple
simultaneous clients may be calling
objects more or less simultaneously
(simultaneously on multi-processor
systems), objects must synchronize
their internal state by themselves.
Interfaces are not marshaled between
threads. Previous Microsoft
information and documentation has
sometimes referred to this model as
the “free-threaded model.” Both the
STA model and the MTA model can be
used in the same process. This is
sometimes referred to as a
“mixed-model” process.

Other models according to Wikipedia

There are several models of concurrent
computing, which can be used to
understand and analyze concurrent
systems. These models include:

  • 07002
    • 07003l for security
  • 07004
  • 07005 such as
    • 07006
    • 07007 (CCS)
    • 07008 (CSP)
    • 07009
http://stackoverflow.com/questions/4153118/list-of-concurrency-models

本站文章除注明转载外,均为本站原创或编译
转载请明显位置注明出处:并发模型列表