bugfix: using atexit to fix pthread_exit() not called in any thread
bugfix: using atexit to fix pthread_exit() not called in any thread

hy0kl/zlog,lisongmin/zlog,hy0kl/zlog,lisongmin/zlog,basho/zlog,lisongmin/zlog,basho/zlog,bmanojlovic/zlog,airtame/zlog,basho/zlog,tosihisa/zlog,airtame/zlog,airtame/zlog,HardySimpson/zlog,hy0kl/zlog,lisongmin/zlog,HardySimpson/zlog,tosihisa/zlog,bmanojlovic/zlog,tosihisa/zlog,basho/zlog