English 中文(简体)
OO 多种翻新的同步化设计模式
原标题:OO design patterns for multi-threaded synchronisation

鉴于设计模式名称,是否对物体和数据进行了概括性化和渗透性互动?

很显然,对物体的同步化、通过电梯传递信息,以及记忆管理系统中的参考值。

但是,在清晰体现最佳做法的多读设计模式和系统方面是否有任何更注重业务协调处的名称?

最佳回答

《面向Pattern的软件结构第2卷:目前和已联网的物体的模式》,由Schmid、Stal、Rohnert和Buschmann分别列出一些。 道格拉斯·施密特也是

问题回答

Producer - 消费者是涉及数据同步化的多层环境的互动设计模式之一。

如果你想到像Latch、“屏障”或“Semaphore”这样的信标,就会看一看java.util.con 当前一揽子计划的文件(例如,见

Concurrency Formats on wikipedia。





相关问题
Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

JSON with classes?

Is there a standardized way to store classes in JSON, and then converting them back into classes again from a string? For example, I might have an array of objects of type Questions. I d like to ...

Object-Oriented Perl constructor syntax and named parameters

I m a little confused about what is going on in Perl constructors. I found these two examples perldoc perlbot. package Foo; #In Perl, the constructor is just a subroutine called new. sub new { #I ...

Passing another class amongst instances

I was wondering what is the best practice re. passing (another class) amongst two instances of the same class (lets call this Primary ). So, essentially in the constructor for the first, i can ...

Where can I find object-oriented Perl tutorials? [closed]

A Google search yields a number of results - but which ones are the best? The Perl site appears to contain two - perlboot and perltoot. I m reading these now, but what else is out there? Note: I ve ...

热门标签