Sync llip to rev31
added pthread ressource files for windows
test of thread function in main.c