mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 15:52:26 +01:00
Date:2008-09-19T07:55:09.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@27 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
20 lines
859 B
Plaintext
20 lines
859 B
Plaintext
[[Property:title|Using threads]]
|
|
[[Property:weight|7]]
|
|
[[Property:uuid|9f53d641-093a-38cb-50bb-568aaadfeb34]]
|
|
Eiffel supports multithreaded programs. The [[EiffelThread Library|thread 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| '''Caution''': Make sure the external and precompiled libraries you use have also been compiled with support for threads. }}
|
|
|
|
{{seealso| '''See Also''' <br/>
|
|
[[Generating libraries|Creating libraries]] }}
|
|
|
|
|
|
|
|
|