Cast from pthread_t to pid_t via uintptr_t.
author <shinichiro.hamaji@gmail.com> <>
Thu, 30 Jul 2009 10:45:13 +0000 (10:45 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Thu, 30 Jul 2009 10:45:13 +0000 (10:45 +0000)
commit1b5a90b691cc9a7dce4a79c0736b6c37ea065108
tree876fe1a0f6f75091dcb218264c04d20fb38556cc
parent94955644234ffde50ddaeedd07791fc8df5eba0a
Cast from pthread_t to pid_t via uintptr_t.

On 64bit NetBSD, pthread_t is a pointer and pid_t is an integer so
we cannot cast from pthread_t to pid_t directoly due to difference of
their size.

git-svn-id: https://google-glog.googlecode.com/svn/trunk@69 eb4d4688-79bd-11dd-afb4-1d65580434c0
src/utilities.cc