add threadgetname
diff --git a/include/thread.h b/include/thread.h index 330f150..ffa8fca 100644 --- a/include/thread.h +++ b/include/thread.h
@@ -15,6 +15,7 @@ void threadexitsall(char *); void threadsetname(char*, ...); void threadsetstate(char*, ...); +char *threadgetname(void); int threadyield(void); void _threadready(_Thread*); void _threadswitch(void);