Presentation is loading. Please wait.

Presentation is loading. Please wait.

Parallel Programming with OmniThreadLibrary Primož Gabrijelčič.

Similar presentations


Presentation on theme: "Parallel Programming with OmniThreadLibrary Primož Gabrijelčič."— Presentation transcript:

1 Parallel Programming with OmniThreadLibrary Primož Gabrijelčič

2 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

4 What is OmniThreadLibrary?

5 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

6 How do I learn more?

7 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

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

9 Async/Await Initialization Cleanup Long operation

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

11 Future Use result Long calculation

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

13 Background Worker Data Process Result Process

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

15 Pipeline Data Stage 1 Result Stage 2 Stage 3 Stage 4

16 How do I work with databases in multithreaded environment?

17 Databases GUI Database Access Frame

18 Questions?


Download ppt "Parallel Programming with OmniThreadLibrary Primož Gabrijelčič."

Similar presentations


Ads by Google