This repository contains basic example when I am learning c and cpp language.
Simple code demo how to register module like ffmpeg project.
Simple code demo how to write thread safe singleton(shared instance) using cpp template and pthread_once(like objective c dispatch_once). Refered from