![]() |
On Optimistic and Pessimistic Initialization
When you want to initialize a shared resource in a multithreaded application, you have two possibilities to choose from – optimistic and pessimistic. The difference between them is visible from the pseudocode. var Shared: T;procedure OptimisticInitializer;var temp: T;begin if not assigned(Shared) ...http://feeds.feedburner.com/~r/delph...~4/0JK5BP5bYRY
![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:08 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz