Files
eiffel-org/documentation/16.05/eiffelstudio/eiffelstudio-how-tos/compiling/using-threads.wiki
eiffel-org a4b2f9f415 Replaced many abc' to abc`.
Added 16.05 branch.

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1591 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
2016-06-16 12:15:58 +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]] }}