encyclopegia.org

Ostrich algorithm

In computer science, the ostrich algorithm is a strategy of ignoring potential problems on the basis that they may be exceedingly rare. It is named after the ostrich effect which is defined as "to stick one's head in the sand and pretend there is no problem". It is used when it appears the situation may be more cost-effectively managed by allowing the problem to continue to occur rather than to attempt its prevention.

In computer science, the ostrich algorithm is a strategy of ignoring potential problems on the basis that they may be exceedingly rare. It is named after the ostrich effect which is defined as "to stick one's head in the sand and pretend there is no problem". It is used when it appears the situation may be more cost-effectively managed by allowing the problem to continue to occur rather than to attempt its prevention. ==Use with deadlocks== This approach may be used in dealing with deadlocks in concurrent programming if they are believed to be very rare and the cost of detection or prevention is high. A set of processes is deadlocked if each process in the set is waiting for an event that only another process in the set can cause. The ostrich algorithm pretends there is no problem and is reasonable to use if deadlocks occur very rarely and the cost of their prevention would be high. The UNIX and Windows operating systems take this approach. Although using the ostrich algorithm is one of the methods of dealing with deadlocks, other effective methods exist such as dynamic avoidance, banker's algorithm, detection and recovery, and prevention. ==See also== Crash-only software End-to-end principle ==References== ==External links== Ostrich algorithm Non-Hard Locking Read-Write Locker Deadlock Basics + Modelling + Ostrich Algorithm

References

No reference rows published for this article.

Cite this article

MLA

"Ostrich algorithm." encyclopegia.org, 2026, https://encyclopegia.org/wiki/ostrich-algorithm. Accessed 24 November 2026.

Chicago

"Ostrich algorithm." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/ostrich-algorithm.

APA

encyclopegia.org. (2026). Ostrich algorithm. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/ostrich-algorithm

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Paul Germain

enwiki · references available

John Almon

enwiki · references available

Matthew Santos

enwiki · references available

Samuel Pepys Cockerell

enwiki · references available

Parti 51

enwiki · references available

Stephen L. Johnson (politician, born 1951)

enwiki · references available

A Busy Day

enwiki · references available

William Ferguson (racing driver)

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1376523512 · 0.5 · snapshot enwiki-001376523512

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.