Tag: C/C++

  • FreeType2 Usage Notes

    The motivation of this page is that the FreeType2 tutorial doesn’t give you complete working code. Lots of people complain about the lack of very short simple working example. I too felt that was lacking, so I posted up my first simple program. See: text2text This program should compile on linux, Irix, or solaris. Minor […]

  • C/C++ Message Passing

    Note: For C++ users, find an update at http://blog.jdboyd.net/2010/11/small-revisit-of-cc-message-passing-in-a-threaded-program/ My favorite approach to threaded programming is message passing, holding the shared memory for things that need it for performance reasons. eCos has a handy general purpose message passing system, but C/C++ do not. Posix does have some methods that can be used for this. There […]