avoid current_thread sometimes
commit9db4b98e1356549d999b342bd449f916c27fea8a
authorTom Tromey <tromey@redhat.com>
Fri, 5 Jul 2013 02:00:54 +0000 (4 20:00 -0600)
committerTom Tromey <tromey@redhat.com>
Fri, 5 Jul 2013 02:00:54 +0000 (4 20:00 -0600)
tree6c5aef6e2ba38107fb1981e351b4e202e7ffb925
parente7b4d03f5a74b16c924079b75f5b0617c9ee7add
avoid current_thread sometimes

this tweaks thread.c to use 'self' instead of current_thread
in a couple spots.  this is clearer and more robust
src/thread.c