Files
eiffel-org/documentation/18.01/eiffelstudio/eiffelstudio-how-tos/compiling/using-threads.wiki
eiffel-org b5d5c80911 Created 18.01 branch of the documentation.
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1942 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
2018-02-08 15:00:31 +00:00

20 lines
844 B
Plaintext

[[Property:title|Using threads]]
[[Property:weight|7]]
[[Property:uuid|9f53d641-093a-38cb-50bb-568aaadfeb34]]
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:
* Open the [[Advanced Options|Project Settings]] dialog.
* In the '''Advanced''' section, enable '''Multithreaded''' option.
* Click '''OK'''.
* 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. }}
{{seealso|<br/>
[[Generating libraries|Creating libraries]] }}