aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/threadimpl.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-01-19 21:01:30 -0500
committerRuss Cox <rsc@swtch.com>2020-01-19 21:26:30 -0500
commitc181e39eeab0eb8cad274b7b22ce5343bd55630d (patch)
tree15fe6723e0fa052fb61ffeb086a467cb1ab8ec04 /src/libthread/threadimpl.h
parent52397aaf2b240015533fa46f1767c20f45296465 (diff)
downloadplan9port-c181e39eeab0eb8cad274b7b22ce5343bd55630d.tar.gz
plan9port-c181e39eeab0eb8cad274b7b22ce5343bd55630d.tar.bz2
plan9port-c181e39eeab0eb8cad274b7b22ce5343bd55630d.zip
libthread: rm unused sparc-ucontext.h
More dead code.
Diffstat (limited to 'src/libthread/threadimpl.h')
-rw-r--r--src/libthread/threadimpl.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h
index e26ffe6b..5b6d74cc 100644
--- a/src/libthread/threadimpl.h
+++ b/src/libthread/threadimpl.h
@@ -55,20 +55,6 @@
extern pid_t rfork_thread(int, void*, int(*)(void*), void*);
#endif
-/* THIS DOES NOT WORK! Don't do this!
-(At least, not on Solaris. Maybe this is right for Linux,
-in which case it should say if defined(__linux__) && defined(__sun__),
-but surely the latter would be defined(__sparc__).
-
-#if defined(__sun__)
-# define mcontext libthread_mcontext
-# define mcontext_t libthread_mcontext_t
-# define ucontext libthread_ucontext
-# define ucontext_t libthread_ucontext_t
-# include "sparc-ucontext.h"
-#endif
-*/
-
#if defined(__arm__)
int mygetmcontext(ulong*);
void mysetmcontext(const ulong*);