. .

Monthly Archives: June 2011

0

SDL TTF for x64 as static library

SDL TTF for x64 as static library

I compiled a static, 64 bit version of the Simple DirectMedia Layer library last Christmas, plus the sdl_ttf and the Freetype library. Now these can be downloded here in this zip file:  

0

Threading events and Intel Building Blocks

The Intel Threading Building Blocks library (TBB) is a useful cross-platform C++ library, which contains many high and low level tools for developing multi-threaded applications. One feature I required but couldn’t find in TBB is a class similar to AutoResetEvent in the .NET framework. That class allows simple synchronization of two threads. One of them is waiting the event to be triggered, while the other triggers the event at a point. I have implemented this class in C++, using atomic operations from TBB, which guaranties that if the two threads are running on different cores, then their caches get synced