mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 15:52:26 +01:00
Author:halw
Date:2010-01-05T21:46:20.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@384 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -13,7 +13,7 @@ Then the once feature is not initialized once per process but once per thread. Y
|
||||
|
||||
Current once features in Eiffel are once per thread. This means that when a once feature is called in a thread, the Eiffel run-time will check whether it has been already computed in this thread. If not, the once feature will be initialized and computed. This seems to be a relevant way of managing once features in multithreaded mode: most of the time, a once called in a thread is not likely to share its result.
|
||||
|
||||
However, in some case, we need to share once features.
|
||||
However, in some cases, we need to share once features.
|
||||
|
||||
Moreover, an Eiffel programmer should be able to have an alternative between a once per thread or per process implementation.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user