diff options
author | 1999-01-10 22:50:07 +0000 | |
---|---|---|
committer | 1999-01-10 22:50:07 +0000 | |
commit | ffc272dcd28c45d2a140a76ce335a5cb60b2d9b0 (patch) | |
tree | da3beea98745daf946f1b665a77bd73aff02b229 | |
parent | remove unnecessary declaration of dounmount (diff) | |
download | wireguard-openbsd-ffc272dcd28c45d2a140a76ce335a5cb60b2d9b0.tar.xz wireguard-openbsd-ffc272dcd28c45d2a140a76ce335a5cb60b2d9b0.zip |
update
-rw-r--r-- | lib/libc_r/NOTES | 20 | ||||
-rw-r--r-- | lib/libc_r/TODO | 10 |
2 files changed, 21 insertions, 9 deletions
diff --git a/lib/libc_r/NOTES b/lib/libc_r/NOTES index 938de76867a..25669e05d0b 100644 --- a/lib/libc_r/NOTES +++ b/lib/libc_r/NOTES @@ -85,6 +85,17 @@ Errno to worry about in comparison to the huge penalty hit of handling a signal and restoring the rest of a thread's context. + It has been pointed out that this technique will not work in a + mutiprocessor environment, and this is quite true. However the following + reasons are quite persuasive: + + - OpenBSD does not do MP (yet) + - This (FreeBSD uthread) implementation will not work in an MP + environment anyway because _thread_run is not a cpu-local variable. + - There is a lot of coupling between binary ports and old libc and + other libraries that is quite a big headache to resolve in a + friendly manner. + Compiler Support The in-tree gcc had its config/openbsd.h modified to support a @@ -94,6 +105,13 @@ Compiler Support The objective-C component was also made aware of posix threads, via the configure switch --enable-threads=posix. +Changes to FreeBSD uthreads + + The following significant changes have been made to John Birrell's + uthreads implementation: + + - the SIGINFO handler generates much more friendly output + Caveats Not everything above is working right now: read the TODO file. @@ -122,4 +140,4 @@ References San Antionio, Texas, 1992. pp. 185-198 David Leonard <leonard@csee.uq.edu.au> -$OpenBSD: NOTES,v 1.1 1998/08/27 09:00:32 d Exp $ +$OpenBSD: NOTES,v 1.2 1999/01/10 22:50:07 d Exp $ diff --git a/lib/libc_r/TODO b/lib/libc_r/TODO index 75ce8fb8789..0516ae94d71 100644 --- a/lib/libc_r/TODO +++ b/lib/libc_r/TODO @@ -5,12 +5,6 @@ This is a list of things that still need to be done: some usages of ENTRY to SYSENTRY in some .S files and add the new macros to their SYS.h. -* Find a better way of doing the _sys_aliases stuff; ideally by - using the linker. jmp's and branches (current implementation) are ugly, but - I don't want to have to hack ../libc/sys/Makefile.inc just to - partition the syscalls into wrapped and non-wrapped. The `.set' - assembler directive just doesn't work as I thought it would. - * Test that thread_init is automatically called on every arch, regardless of whether the exe is statically linked or not. @@ -40,6 +34,6 @@ This is a list of things that still need to be done: its in the database routines mostly. We will need to rip their code. * Figure out what to do with the configuration system variables (_SC_*) - that are defined by POSIX 1003.1c + that are defined by POSIX 1003.1c (at least update sysconf(3)) -$OpenBSD: TODO,v 1.4 1998/12/22 22:30:35 d Exp $ +$OpenBSD: TODO,v 1.5 1999/01/10 22:51:14 d Exp $ |