API Support Forum
OEC API > API Support > Multi-threading
Author Topic: Multi-threading
(3 messages, Page 1 of 1)
Moderators: VPfau
BBigoulaev
Posts: 18
Joined: Dec 19, 2008


Posted: Jan 29, 2009 @ 09:23 PM             Msg. 1 of 3
One question to OEC team: Is OEC API inside of itself supporting the multi-threading on .net or it's one thread dll ? And how does it work on multi-core platform, any advantages?

Thank you.

Boris
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Jan 30, 2009 @ 08:25 AM             Msg. 2 of 3
OEC API should be created and called from a single thread, usually main thread of a GUI application, or any thread with message pump. Events are fired in the creating thread.

Internally, it uses thread pool for asynchronous network communications.
BBigoulaev
Posts: 18
Joined: Dec 19, 2008


Posted: Jan 30, 2009 @ 10:13 AM             Msg. 3 of 3
Thank you!

Boris