mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 06:42:03 +01:00
Replaced "No concurrency" setting value with "None" .
Changed "favourite" by "favorite". git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1981 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -53,6 +53,6 @@ Further options are
|
||||
* Full Class Checking, Void-safety, Are types attached by default?: These settings are generally associated with increasing the safety of compiled code, particularly [[Creating a new void-safe project#Project settings for void-safe projects|void-safety]].
|
||||
* Cat call detection: Attempts to identify at compile time the possibility of the system making a [[ET: Inheritance#Catcalls|catcall]].
|
||||
* Syntax: Allows you to select the [[Setting the syntax variant|syntax variant]] used by the compiler when compiling this target.
|
||||
* Concurrency: Controls the level of concurrency support for this target. ''No concurrency'' means mono-threaded; ''EiffelThread'' means concurrent threads using the [[EiffelThread Tutorial|EiffelThread]] library. ''SCOOP'' means concurrency based on the [[Concurrent programming with SCOOP|SCOOP]] rules.
|
||||
* Concurrency: Controls the level of concurrency support for this target. ''None'' means mono-threaded; ''EiffelThread'' means concurrent threads using the [[EiffelThread Tutorial|EiffelThread]] library. ''SCOOP'' means concurrency based on the [[Concurrent programming with SCOOP|SCOOP]] rules.
|
||||
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ In order to enable SCOOP processing in your project, you use the project setting
|
||||
|
||||
The second setting is the precompiled library. This should either be '''base-scoop-safe''', or nothing at all. A precompiled library which is not built with SCOOP support will not work.
|
||||
|
||||
{{caution | When you use a precompiled library, the ''Concurrency'' setting for that library trumps whatever ''Concurrency'' value you have set for the project. So, if you use the "base-safe.ecf" precompiled library, your project will not be SCOOP-enabled regardless of the setting of ''Concurrency'' in the Target. Likewise, using the "base-scoop-safe.ecf" precompiled library always produces a SCOOP-enabled project, even if the Target ''Concurrency'' setting is ''No concurrency''.}}
|
||||
{{caution | When you use a precompiled library, the ''Concurrency'' setting for that library trumps whatever ''Concurrency'' value you have set for the project. So, if you use the "base-safe.ecf" precompiled library, your project will not be SCOOP-enabled regardless of the setting of ''Concurrency'' in the Target. Likewise, using the "base-scoop-safe.ecf" precompiled library always produces a SCOOP-enabled project, even if the Target ''Concurrency'' setting is ''None''.}}
|
||||
|
||||
|
||||
=Creating a new SCOOP project=
|
||||
@@ -32,9 +32,9 @@ To enable SCOOP, you'll have to do some work on the project settings. Follow the
|
||||
== Step 1: Adjust Concurrency setting ==
|
||||
|
||||
Open the project settings dialogue (Project -> Project settings...).
|
||||
Select your favourite target (usually there's only one) and extend the section ''Advanced''.
|
||||
Select your favorite target (usually there's only one) and extend the section ''Advanced''.
|
||||
|
||||
In there you'll find the setting ''Concurrency'', which should have a value ''No concurrency'' for sequential projects. Change it to ''SCOOP''.
|
||||
In there you'll find the setting ''Concurrency'', which should have a value ''None'' for sequential projects. Change it to ''SCOOP''.
|
||||
|
||||
In addition to the ''Concurrency'' project setting, it is recommended that for new projects you use [[Creating a new void-safe project#Project settings for void-safe projects|the settings that guarantee void-safety]].
|
||||
|
||||
|
||||
Reference in New Issue
Block a user