User can browse while the database is getting initialized database calls thread_safe, initiliazing_khan in a new thread, pthread.h in khan.h