Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-01-03 | Fixes from FreeBSD's libc_r | Brad Smith | |
rev 1.21 Make the libc_r version of select() set the readable or writable file descriptor bit if poll() returns POLLERR, POLLHUP, or POLLNVAL. Othewise, it's possible for select() to return successfully but with no bits set. rev 1.19 Return correct number of total bits set in all fd_set's. Change case of POLLNVAL as an error. Remove POLLHUP and POLLERR from one case, their place is most likely amongst read events. ok marc@ | |||
2004-01-02 | add a section on thread safety, which is a start at documenting which | Jason McIntyre | |
functions are not thread safe; started by a request from Marc Balmer to document that malloc(3) *was* thread safe, and expanded by marc@ to list functions that are not; also add some spacing to make the page more readable, and adjust the -width of a list; ok marc@ | |||
2004-01-01 | more cancellation points. | Brad Smith | |
ok marc@ | |||
2003-12-31 | there is no pause() wrapper (thread_sys_pause) so remove the prototype | Brad Smith | |
2003-12-31 | undefer sigs in all paths through the join code. | Marco S Hyman | |
Based upon patch/report from Marc Olzheim <marcolz at stack.nl> | |||
2003-12-23 | bump minor | Brad Smith | |
2003-12-23 | Add stub implementations of pthread_[gs]etconcurrency | Brad Smith | |
From: FreeBSD' libc_r ok marc@ | |||
2003-12-23 | change the variable name used for status checking, | Brad Smith | |
LIBC_R_DEBUG -> LIBPTHREAD_DEBUG ok marc@ | |||
2003-12-23 | Based upon a freebsd change: | Marco S Hyman | |
If an application closes one of its stdio descriptors (0..2), an excessive close() on one of these descriptors would cause a memory for this descriptor to be allocated in the internal descriptor table. When this descriptor gets used again, e.g. through the call to open() or socket(), the descriptor would be erroneously left in the blocking mode, and the whole application would get stuck on a blocking operation, e.g., in accept(2). but changed to not eat fds when a file that the thread kernel doesn't know about is closed. | |||
2003-12-23 | Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(), | Brad Smith | |
and sendto() cancellation points, as required by POSIX.1-2001. From: FreeBSD' libc_r ok marc@ | |||
2003-12-22 | Fix from FreeBSD' libc_r | Brad Smith | |
rev 1.21 Fix bogus return values from libc_r's writev() routine in situations where a partial-write is followed by an error. ok marc@ | |||
2003-12-22 | Fixes from FreeBSD' libc_r | Brad Smith | |
rev 1.21 Fix bogus return values from libc_r's write() routine in situations where partial-write is followed by an error. rev 1.22 If __sys_write() returns 0, allow that to exit the loop in libc_r's wrapped version of write(). rev 1.23 Return to the caller if write() returns 0. ok marc@ | |||
2003-12-10 | Add an nfds_t type as per POSIX and also add pollfd_t like Solaris has. | Todd C. Miller | |
2003-11-10 | missing proto for kqueue(); marc@ ok | Michael Shalayeff | |
2003-11-03 | replace magic number for min number of poll_data entries | Marco S Hyman | |
to allocate with a define | |||
2003-10-26 | Real atomic locks for m88k. | Miod Vallat | |
2003-10-22 | Add wrapper for kqueue() to keep track of the allocated fd and allow it to | Brad Smith | |
be closed. This fixes a file descriptor leak when closing a kqueue() fd. from FreeBSD ok marc@ | |||
2003-10-22 | When about to do an execve(), don't bother resetting the O_NONBLOCK flag | Brad Smith | |
on any file descriptors that have the close-on-exec flag set. from FreeBSD ok marc@ | |||
2003-10-21 | indicacte -> indicate; from Jared Yanovich | Jason McIntyre | |
2003-10-19 | Fix optimized select handling buglet. Patch from tholo@ | Marco S Hyman | |
2003-10-19 | sync FreeBSD RCS id | Brad Smith | |
2003-10-16 | Optimize conversion of fd_set -> pollfd. OK and test by marc@ | Todd C. Miller | |
2003-10-03 | remove error code that can't be returned; | Jason McIntyre | |
from kensmith@freebsd (rev. 1.13); ok marc@ | |||
2003-09-22 | Off-by-ones, from aaron@ | Miod Vallat | |
2003-08-06 | Remove some double semicolons (hmm, do two semis equal a maxi?). | Todd C. Miller | |
I've skipped the GNU stuff for now. From Patrick Latifi. | |||
2003-08-01 | Go back to using ITIMER_PROF for the non-profiled libpthread and use | Todd C. Miller | |
ITIMER_VIRTUAL for the profiled version. Fixes problems when programs linked with libpthread try to use ITIMER_VIRTUAL (and have no way of knowing that this will cause conflicts with the threads lib). marc@ OK | |||
2003-07-22 | - use :L variable modifier with ELF_TOOLCHAIN variable | Brad Smith | |
- change 2 instances of the check from != "yes" to == "no" ok deraadt@ | |||
2003-07-21 | minor number bump due to added functions | Todd C. Miller | |
2003-07-08 | remove variable never read | Marco S Hyman | |
2003-06-10 | Use ITIMER_VIRTUAL instead of ITIMER_PROF as the thread scheduler | Marco S Hyman | |
timer. Allows threaded aps to be profiled. Tested on i386, alpha, macppc, sparc64 and vax. miod@ says: I think this is the right thing to do. | |||
2003-06-02 | place this under the Public Domain (instead of a bad license I had put) | Peter Valchev | |
2003-06-02 | section reorder; | Jason McIntyre | |
2003-06-02 | Strict prototypes. | Miod Vallat | |
2003-05-27 | libpthread support for vax, at last. | Miod Vallat | |
2003-05-19 | Missing licence | Miod Vallat | |
2003-05-18 | - typos | Jason McIntyre | |
- new sentence, new line - clean up .Xrs | |||
2003-05-13 | Add support for blocking thread switches during dlopen and other | Marco S Hyman | |
non-thread-safe dl functions. Only enabled for ELF architectures at this time as needed dlxxx support has not yet been added to the a.out run time loader. 'doesn't break xmms at least' tedu@. Tested by others with no comment | |||
2003-05-08 | crank major number to correspond to libc major change | Todd C. Miller | |
2003-05-08 | RETURN VALUE -> RETURN VALUES in .Sh, as per mdoc template. | Jason McIntyre | |
also new sentence, new line. | |||
2003-05-01 | Enable compiler warning options but NOT -Werror | Marco S Hyman | |
2003-04-30 | fix for pr# 3179 and 3238. Patch verified by author of 3179. | Marco S Hyman | |
2003-04-14 | when libc/shlib_version says you need to crank this one too, DO NOT IGNORE | Theo de Raadt | |
THAT ADVICE -- IT IS THERE FOR A REASON | |||
2003-03-31 | Remove unused file. OpenBSD uses uthread_info_openbsd.c, instead. | Marco S Hyman | |
This is easier than fixing the strcpy in the file. | |||
2003-03-20 | sprintf -> snprintf; ok millert@, henning@ | Marco S Hyman | |
2003-03-14 | document that sigwait() needs to be linked with -pthread; | Jason McIntyre | |
from Mike Neuman; closes PR 3030 ok marc@ | |||
2003-02-27 | Don't need to specify both __dead and __attribute__((__noreturn__)) for | Chad Loder | |
pthread_exit prototype. Replace with just __dead. OK millert@, marc@ | |||
2003-02-20 | copyrights added; | Jason McIntyre | |
these are all David Leonard, and Public Domain ok deraadt@ | |||
2003-02-18 | intial -> initial; | Jason McIntyre | |
the great intial witch hunt, as prompted by tdeval@ os-aix-dso.c: ok henning@ ab.C: ok drahn@ | |||
2003-02-14 | - save and restore %fsr, too. | Jason Wright | |
- better function descriptions | |||
2003-02-14 | fix bug that would leave an FD locked if dup'd, then closed. | Marco S Hyman | |
Also, for safety lock the _thread_fd_table when removing entries. |