URI: 
       tadd threadgetname - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 515b6e5bffe8ac8c28015d7656ba54b9930b5e63
   DIR parent 361e279c59273dc82b1a5ced832d790a3b8b7a28
  HTML Author: rsc <devnull@localhost>
       Date:   Tue, 18 Jan 2005 20:17:12 +0000
       
       add threadgetname
       
       Diffstat:
         M src/libthread/thread.c              |       6 ++++++
       
       1 file changed, 6 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/src/libthread/thread.c b/src/libthread/thread.c
       t@@ -329,6 +329,12 @@ threadsetname(char *fmt, ...)
                va_end(arg);
        }
        
       +char*
       +threadgetname(void)
       +{
       +        return proc()->thread->name;
       +}
       +
        void
        threadsetstate(char *fmt, ...)
        {