1 / 18

Parallel Programming with OmniThreadLibrary

Parallel Programming with OmniThreadLibrary. Primo ž Gabrijelčič. Primož Gabrije l čič programmer, consultant, speaker, trainer Delphi / Smart Mobile Studio Email: primoz @gabrijelcic.org Twitter: @thedelphigeek Skype: gabr42 The Delphi Geek – http://www.thedelphigeek.com

kamali
Download Presentation

Parallel Programming with OmniThreadLibrary

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Parallel Programming with OmniThreadLibrary Primož Gabrijelčič

  2. Primož Gabrijelčič programmer, consultant, speaker, trainer Delphi / Smart Mobile Studio Email: primoz@gabrijelcic.org Twitter: @thedelphigeek Skype: gabr42 The Delphi Geek – http://www.thedelphigeek.com Smart Programmer – http://www.smartprogrammer.org

  3. What is OmniThreadLibrary?

  4. OmniThreadLibrary is … • … VCL for multithreading • … released under an open license • … actively developed • … frequently used • … available in Delphis from 2007 to XE3 • Windows 32- or 64-bit, VCL only

  5. How do I learn more?

  6. OmniThreadLibrary on the web • Home: otl.17slon.com • Code: omnithreadlibrary.googlecode.com • Book: leanpub.com/omnithreadlibrary • Wiki: otl.17slon.com/book • Support: otl.17slon.com/forum

  7. How do I execute long operation in background and run some code in the main thread after the long operation has finished?

  8. Async/Await Initialization Long operation Cleanup

  9. How do I run long calculation in background and process the result in the main thread?

  10. Future Long calculation Use result

  11. How do I run same background operation in multiple simultaneous copies processing an input?

  12. Background Worker Data Process Process Process Process Process Result

  13. How do I parallelize a process that executes in multiple stages?

  14. Pipeline Data Stage 1 Stage 2 Stage 3 Stage 4 Result

  15. How do I work with databases in multithreaded environment?

  16. Databases GUI Frame Frame Database Access

  17. Questions?

More Related