mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 15:22:31 +01:00
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1942 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
20 lines
844 B
Plaintext
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]] }}
|
|
|
|
|
|
|
|
|