currently, find_thread(NULL) also uses a syscall, but in the future, this will be implemented as an efficient inline lookup in calling thread's local storage git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2017 a95241bf-73f2-0310-859d-f6bbb57e9c96