Argoday / IPL

IPL is a C++ template meta-programming based Image Processing Library designed for quick and easy implementation of Computer Vision and Computer Graphics algorithms while preserving runtime performance. Integrates with Qt, LibPNG, and FFMPEG
Other
8 stars 3 forks source link

Choose Cross-platform critical_section type lock #32

Closed Argoday closed 12 years ago

Argoday commented 12 years ago

ACore/Thread and Data/DataManager currently rely on Microsoft's Asynchronous Agents Library for thread safety.

See:

15

zaxtax commented 12 years ago

How would you feel about using libev or libevent? On Apr 22, 2012 11:38 PM, "Argoday" < reply@reply.github.com> wrote:

ACore/Thread and Data/DataManager currently rely on Microsoft's Asynchronous Agents library for thread safety.

See:

15


Reply to this email directly or view it on GitHub: https://github.com/Argoday/Argoday-Library/issues/32

Argoday commented 12 years ago

I think that Data/DataManager can be fixed easily using basic C++11 threading facilities, all that is needed there is a simple scoped_lock to protect memory management operations.

ACore/Thread contains Semaphore.h which is related to AML's usage of MAAL ... actually I'll just move this into AML for isolation instead of being in ACore. I created #31 to track MAAL and libev or libevent may work as a replacement there, I need to learn more about libev.