Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-01-20 | bye-bye libc_r sources. | Marco S Hyman | |
the sources have been moved (with history) to /usr/src/lib/libpthread | |||
2003-01-19 | return (func(...)) not needed when the current function and func | Marco S Hyman | |
are both void. The select call is a cancellation point per IEEE Std 1003.1-2001. This should fix a problem espie@ found in kde. | |||
2002-12-11 | add a debugging function not normally called | Marco S Hyman | |
2002-12-08 | remove unused data member from pthread_cond. | Marco S Hyman | |
2002-11-12 | get rid of compiler warnings | Marco S Hyman | |
2002-11-08 | kill two compiler warnings; ok marc@ | Todd T. Fries | |
2002-11-08 | Do not try to initialize entries in the fd table before the table | Marco S Hyman | |
is created. | |||
2002-11-07 | Add needed table of strong functions that override weak functions | Marco S Hyman | |
in libc so static linking works with -lpthreads. There is a (linker?) problem that still shows up with static -pthread, though. Solution to problem from freebsd. | |||
2002-11-07 | type func(...) -> type\nfunc(...) for function definitions | Marco S Hyman | |
2002-11-05 | thread safe libc -- 2nd try. OK miod@, millert@ | Marco S Hyman | |
Thanks to miod@ for m68k and vax fixes | |||
2002-11-04 | test locks against _SPINLOCK_UNLOCKED, not 0. _SPINLOCK_UNLOCKED is | Marco S Hyman | |
not zero on all arches | |||
2002-11-03 | back out previous patch.. there are still some vax/m68k issues | Marco S Hyman | |
2002-11-03 | libc changes for thread safety. Tested on: | Marco S Hyman | |
alpha (millert@), i386 (marc@), m68k (millert@ and miod@), powerpc (drahn@ and dhartmei@), sparc (millert@ and marc@), sparc64 (marc@), and vax (millert@ and miod@). Thanks to millert@, miod@, and mickey@ for fixes along the way. | |||
2002-11-02 | Include string.h to get memcpy() prototype; OK marc@ | Todd C. Miller | |
2002-10-30 | removes duplicate functions and factor out common code so the needed (but | Marco S Hyman | |
missing) _thread_fd_unlock_owned function can be added with minimal pain. The incorrect special handling of the stdio fds was also removed. Tested with the libc_r regression tests and the mysql regression tests. No complaints from any developers | |||
2002-10-30 | signal handling changes. This corrects several signal | Marco S Hyman | |
handling errors in the threads library. Most of the libc_r regression tests are now ok. thread specific kill semantics are still not correct. No negative comments after posting to tech@ a week or so ago. siginfo test fails on sparc64 due to sparc64 oddity. | |||
2002-10-21 | Check for null pointer before deref in info output. Based upon | Marco S Hyman | |
a freebsd patch forwarded to me by millert@ (thanks!). Change also applied to uthread_info.c even though we do not use it | |||
2002-10-07 | handle the SA_RESETHAND flag. | Marco S Hyman | |
Part of the prep for SA_SIGINFO support. With this change the new siginfo regression test will fail instead of loop on all arches. | |||
2002-09-12 | remove erroneous comment | Marco S Hyman | |
2002-06-04 | spelling; raj@cerias.purdue.edu | Theo de Raadt | |
2002-05-07 | return EBUSY, not EWOULDBLOCK for error when calling thread would block | Peter Valchev | |
for pthread_rwlock_wrlock & sie says Single Unix Specification; ok fgs | |||
2002-05-07 | Make sure calls to pthread_cancel() do not take effect if the target | Peter Valchev | |
thread is already exiting, from archie@FreeBSD, ok fgs | |||
2002-03-07 | ANSI'fy. | Federico G. Schwindt | |
2002-03-07 | From FreeBSD: | Federico G. Schwindt | |
Properly clear the status of a join operation if the joining thread is canceled or the joinee is detached. | |||
2002-02-21 | account for the process signal mask when dealing with signals; tested | Federico G. Schwindt | |
a while ago by marc@ and brad@ | |||
2002-02-19 | correct return values. | Federico G. Schwindt | |
2002-02-19 | From FreeBSD: | Federico G. Schwindt | |
Prevent dup2(2) from closing internal libc_r pipe descriptors. | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2002-01-24 | remove old style init used by mips. uses _thread_init_constructor now | Per Fogelstrom | |
2002-01-23 | From FreeBSD: | Federico G. Schwindt | |
o Use _get_curthread() instead of _thread_run. o Correctly deal with cancellations. o Add libc internal versions of pthread_mutex_lock() and pthread_mutex_trylock(), unused by now. | |||
2002-01-19 | Instead of ifdef around ENOTSUP, move it to pthread_private.h and make | Federico G. Schwindt | |
it EOPNOTSUPP. | |||
2002-01-19 | From FreeBSD: correct priority handling. | Federico G. Schwindt | |
2002-01-18 | From FreeBSD: sem_XXX implementation; manpages comming in a bit. | Federico G. Schwindt | |
2002-01-17 | when alloc'ing the ready queue, make it big enough. | Federico G. Schwindt | |
2002-01-10 | Change 1st arg in pthread_attr_getdetachstate to const. | Federico G. Schwindt | |
2002-01-10 | From FreeBSD: fix conversion from msec to timespec. | Federico G. Schwindt | |
2002-01-04 | comment out the pending signals check by now; it was not suppose to be | Federico G. Schwindt | |
there yet. | |||
2002-01-02 | fpathconf(2) returns long. | Federico G. Schwindt | |
2001-12-31 | More changes from FreeBSD, including: | Federico G. Schwindt | |
o Only poll file descriptors when needed. o Change the way timing is achieved, counting scheduling ticks instead of calculating the elapsed time via gettimeofday(). o Prevent an overflow when polling. o Use curthread instead of _thread_run. o Remove extra spaces; indent. | |||
2001-12-30 | call pthread_sigmask() instead of having the code twice. | Federico G. Schwindt | |
2001-12-20 | From FreeBSD: | Federico G. Schwindt | |
When cancelling a thread while in a join operation, do not detach the target thread of the join operation. This allows the cancelled thread to detach the target thread in its cancellation handler. | |||
2001-12-20 | sync with freebsd. | Federico G. Schwindt | |
2001-12-19 | More sync. | Federico G. Schwindt | |
2001-12-18 | Allow the scheduler to return to the signal handler and the signal | Marco S Hyman | |
handler to return instead of calling sigreturn directly. This works around an apparent bug in sparc sigreturn handling. ok fgs@ and noone else has bitched | |||
2001-12-11 | More sync with freebsd code; join related code this time. | Federico G. Schwindt | |
2001-12-08 | sync with freebsd. | Federico G. Schwindt | |
2001-12-08 | Partially sync with FreeBSD; mostly pthread_cancel(3) related changes. | Federico G. Schwindt | |
make includes is needed in case you want to play. | |||
2001-11-12 | a better fix for recursive mutex. | Federico G. Schwindt | |
2001-11-12 | This fixes the recursive mutex problem with pthreads. | Marco S Hyman | |
fgs@ says their is a better fix... if so he can back these changes out and apply his fix at his convenience. In the meanwhile we'll have mutexen that work. | |||
2001-11-09 | Fix problem found by espie (and other porters) where | Marco S Hyman | |
system(...) hangs forever. From a comment in the fix: * Note: a thread calling wait4 may have its state changed to waiting * until awakened by a signal. Also note that system(3), for example, * blocks SIGCHLD and calls waitpid (which calls wait4). If the process * started by system(3) doesn't finish before this function is called the * function will never awaken -- system(3) also ignores SIGINT and SIGQUIT. |