Update some posts, readwritelock, double pointer, semaphore and jinja2