mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 23:32:42 +01:00
Update wikipage Using threads. (Signed-off-by:jocelyn).
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1519 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
[[Property:title|Using threads]]
|
[[Property:title|Using threads]]
|
||||||
[[Property:weight|7]]
|
[[Property:weight|7]]
|
||||||
[[Property:uuid|9f53d641-093a-38cb-50bb-568aaadfeb34]]
|
[[Property:uuid|9f53d641-093a-38cb-50bb-568aaadfeb34]]
|
||||||
Eiffel supports multithreaded programs. The [[EiffelThread]] Library provides ways to handle threads safely inside an Eiffel program. Make sure you [[Adding a library|add]] it to your project if you want to use threads.
|
Eiffel supports multithreaded programs. The [[EiffelThreads|EiffelThread]] Library provides ways to handle threads safely inside an Eiffel program. Make sure you [[Adding a library|add]] it to your project if you want to use threads.
|
||||||
|
|
||||||
To create a multithreaded program or library:
|
To create a multithreaded program or library:
|
||||||
* Open the [[Advanced Options|Project Settings]] dialog.
|
* Open the [[Advanced Options|Project Settings]] dialog.
|
||||||
* In the '''Advanced''' section, enable '''Multithreaded''' option.
|
* In the '''Advanced''' section, enable '''Multithreaded''' option.
|
||||||
* Click '''OK'''.
|
* Click '''OK'''.
|
||||||
* You must [[Generating executables|recompile]] your project for the changes to take effect.
|
* You must [[Generating executables|recompile]] your project for the changes to take effect.
|
||||||
|
|
||||||
{{warning|Make sure the external and precompiled libraries you use have also been compiled with support for threads. }}
|
{{warning|Make sure the external and precompiled libraries you use have also been compiled with support for threads. }}
|
||||||
|
|
||||||
{{seealso|<br/>
|
{{seealso|<br/>
|
||||||
[[Generating libraries|Creating libraries]] }}
|
[[Generating libraries|Creating libraries]] }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user