adding os_methods, still not compiling, pthread_create