enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Double-checked locking - Wikipedia

    en.wikipedia.org/wiki/Double-checked_locking

    In software engineering, double-checked locking (also known as "double-checked locking optimization" [1]) is a software design pattern used to reduce the overhead of acquiring a lock by testing the locking criterion (the "lock hint") before acquiring the lock. Locking occurs only if the locking criterion check indicates that locking is required.

  3. Singleton pattern - Wikipedia

    en.wikipedia.org/wiki/Singleton_pattern

    In object-oriented programming, the singleton pattern is software design pattern that restricts the instantiation of a class to a singular instance. It is one of the well-known "Gang of Four" design patterns , which describe how to solve recurring problems in object-oriented software. [ 1 ]

  4. Concurrency pattern - Wikipedia

    en.wikipedia.org/wiki/Concurrency_pattern

    In software engineering, concurrency patterns are those types of design patterns that deal with the multi-threaded programming paradigm. Examples of this class of patterns include: Active object [1] [2] Balking pattern; Barrier; Double-checked locking; Guarded suspension; Leaders/followers pattern; Monitor Object; Nuclear reaction; Reactor ...

  5. Software design pattern - Wikipedia

    en.wikipedia.org/wiki/Software_design_pattern

    Double-checked locking: Reduce the overhead of acquiring a lock by first testing the locking criterion (the 'lock hint') in an unsafe manner; only if that succeeds does the actual locking logic proceed. Can be unsafe when implemented in some language/hardware combinations. It can therefore sometimes be considered an anti-pattern. Yes —

  6. Multiton pattern - Wikipedia

    en.wikipedia.org/wiki/Multiton_pattern

    In software engineering, the multiton pattern is a design pattern which generalizes the singleton pattern.Whereas the singleton allows only one instance of a class to be created, the multiton pattern allows for the controlled creation of multiple instances, which it manages through the use of a map.

  7. Guarded suspension - Wikipedia

    en.wikipedia.org/wiki/Guarded_suspension

    In concurrent programming, guarded suspension [1] is a software design pattern for managing operations that require both a lock to be acquired and a precondition to be satisfied before the operation can be executed.

  8. Initialization-on-demand holder idiom - Wikipedia

    en.wikipedia.org/wiki/Initialization-on-demand...

    In software engineering, the initialization-on-demand holder (design pattern) idiom is a lazy-loaded singleton. In all versions of Java, the idiom enables a safe, highly concurrent lazy initialization of static fields with good performance. [1] [2]

  9. Model–view–presenter - Wikipedia

    en.wikipedia.org/wiki/Model–view–presenter

    The model–view–presenter software pattern originated in the early 1990s at Taligent, a joint venture of Apple, IBM, and Hewlett-Packard. [2] MVP is the underlying programming model for application development in Taligent's C++-based CommonPoint environment.