OpenBSD CVS

src/lib/libpthread/uthread/


Click on a directory to enter that directory. Click on a file to display its revision history and to get a chance to display diffs between revisions.

Current directory: [local] / src / lib / libpthread / uthread

Current tag: OPENBSD_3_5


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[TXT] Makefile.inc (in the Attic) [Hide]  1.18   20 years  brad   add pthread_attr_[get|set]stack From: FreeBSD's libc_r ok marc@
[TXT] pthread_private.h (in the Attic) [Hide]  1.52   20 years  brad   Add a simple work-around for deadlocking on recursive readlocks on a rwlock whil...
[TXT] uthread_accept.c (in the Attic) [Hide]  1.8   20 years  brad   Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(), and sendto() cancell...
[TXT] uthread_attr_destroy.c (in the Attic) [Hide]  1.4   21 years  marc   type func(...) -> type\nfunc(...) for function definitions
[TXT] uthread_attr_getdetachstate.c (in the Attic) [Hide]  1.4   22 years  fgsch   Change 1st arg in pthread_attr_getdetachstate to const.
[TXT] uthread_attr_getinheritsched.c (in the Attic) [Hide]  1.2   24 years  d   sync with FreeBSD
[TXT] uthread_attr_getschedparam.c (in the Attic) [Hide]  1.2   24 years  d   sync with FreeBSD
[TXT] uthread_attr_getschedpolicy.c (in the Attic) [Hide]  1.2   24 years  d   sync with FreeBSD
[TXT] uthread_attr_getscope.c (in the Attic) [Hide]  1.2   24 years  d   sync with FreeBSD
[TXT] uthread_attr_getstack.c (in the Attic) [Hide]  1.1   20 years  brad   add pthread_attr_[get|set]stack From: FreeBSD's libc_r ok marc@
[TXT] uthread_attr_getstackaddr.c (in the Attic) [Hide]  1.5   20 years  brad   Add missing const for function parameters to match POSIX. From: FreeBSD's libc_...
[TXT] uthread_attr_getstacksize.c (in the Attic) [Hide]  1.5   20 years  brad   Add missing const for function parameters to match POSIX. From: FreeBSD's libc_...
[TXT] uthread_attr_init.c (in the Attic) [Hide]  1.4   21 years  marc   type func(...) -> type\nfunc(...) for function definitions
[TXT] uthread_attr_setcreatesuspend_np.c (in the Attic) [Hide]  1.4   22 years  fgsch   pthread_* do not set errno but returns a errno value.
[TXT] uthread_attr_setdetachstate.c (in the Attic) [Hide]  1.4   21 years  marc   type func(...) -> type\nfunc(...) for function definitions
[TXT] uthread_attr_setinheritsched.c (in the Attic) [Hide]  1.2   24 years  d   sync with FreeBSD
[TXT] uthread_attr_setprio.c (in the Attic) [Hide]  1.5   21 years  marc   type func(...) -> type\nfunc(...) for function definitions
[TXT] uthread_attr_setschedparam.c (in the Attic) [Hide]  1.4   22 years  fgsch   Instead of ifdef around ENOTSUP, move it to pthread_private.h and make it EOPNOT...
[TXT] uthread_attr_setschedpolicy.c (in the Attic) [Hide]  1.4   22 years  fgsch   Instead of ifdef around ENOTSUP, move it to pthread_private.h and make it EOPNOT...
[TXT] uthread_attr_setscope.c (in the Attic) [Hide]  1.4   22 years  fgsch   correct return values.
[TXT] uthread_attr_setstack.c (in the Attic) [Hide]  1.1   20 years  brad   add pthread_attr_[get|set]stack From: FreeBSD's libc_r ok marc@
[TXT] uthread_attr_setstackaddr.c (in the Attic) [Hide]  1.4   21 years  marc   type func(...) -> type\nfunc(...) for function definitions
[TXT] uthread_attr_setstacksize.c (in the Attic) [Hide]  1.4   21 years  marc   type func(...) -> type\nfunc(...) for function definitions
[TXT] uthread_autoinit.c (in the Attic) [Hide]  1.12   21 years  marc   bad marc, commited crap to shut gcc up. Remove the crap.
[TXT] uthread_bind.c (in the Attic) [Hide]  1.4   24 years  d   sync with FreeBSD
[TXT] uthread_cancel.c (in the Attic) [Hide]  1.13   22 years  pvalchev   Make sure calls to pthread_cancel() do not take effect if the target thread is a...
[TXT] uthread_clean.c (in the Attic) [Hide]  1.4   22 years  fgsch   Start syncing with FreeBSD: o Implement _get_curthread() and _set_curthread(). ...
[TXT] uthread_close.c (in the Attic) [Hide]  1.11   20 years  marc   Based upon a freebsd change: If an application closes one of its stdio descript...
[TXT] uthread_closefrom.c (in the Attic) [Hide]  1.1   20 years  marc   threaded version of closefrom pthread_stackseg_np added. Minor bump for these ...
[TXT] uthread_concurrency.c (in the Attic) [Hide]  1.1   20 years  brad   Add stub implementations of pthread_[gs]etconcurrency From: FreeBSD' libc_r ok...
[TXT] uthread_cond.c (in the Attic) [Hide]  1.14   20 years  brad   Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(), and sendto() cancell...
[TXT] uthread_condattr_destroy.c (in the Attic) [Hide]  1.4   21 years  marc   type func(...) -> type\nfunc(...) for function definitions
[TXT] uthread_condattr_init.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_connect.c (in the Attic) [Hide]  1.5   20 years  brad   Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(), and sendto() cancell...
[TXT] uthread_create.c (in the Attic) [Hide]  1.20   20 years  brad   fixes function parameters to match the man page as well as adding a more aggress...
[TXT] uthread_detach.c (in the Attic) [Hide]  1.8   22 years  fgsch   From FreeBSD: Properly clear the status of a join operation if the joining threa...
[TXT] uthread_dup.c (in the Attic) [Hide]  1.5   21 years  marc   thread fd handling, part 2. Don't mung file flags until forced to notice that...
[TXT] uthread_dup2.c (in the Attic) [Hide]  1.7   21 years  marc   thread fd handling, part 2. Don't mung file flags until forced to notice that...
[TXT] uthread_equal.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_execve.c (in the Attic) [Hide]  1.7   20 years  brad   When about to do an execve(), don't bother resetting the O_NONBLOCK flag on any ...
[TXT] uthread_exit.c (in the Attic) [Hide]  1.17   21 years  marc   type func(...) -> type\nfunc(...) for function definitions
[TXT] uthread_fchflags.c (in the Attic) [Hide]  1.1   25 years  d   add fchflags and fpathconf as well.
[TXT] uthread_fchmod.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_fchown.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_fcntl.c (in the Attic) [Hide]  1.7   21 years  marc   Part 1 of thread fd handling fixes. In the new scheme fd_table_entries for dup...
[TXT] uthread_fd.c (in the Attic) [Hide]  1.21   21 years  marc   fix bug that would leave an FD locked if dup'd, then closed. Also, for safety l...
[TXT] uthread_file.c (in the Attic) [Hide]  1.10   21 years  marc   Create a siginfo_t for thread-to-thread kill. Clean up (compiler warning elimin...
[TXT] uthread_find_thread.c (in the Attic) [Hide]  1.5   22 years  fgsch   More sync with freebsd code; join related code this time.
[TXT] uthread_flock.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_fork.c (in the Attic) [Hide]  1.11   20 years  millert   Remove some double semicolons (hmm, do two semis equal a maxi?). I've skipped th...
[TXT] uthread_fpathconf.c (in the Attic) [Hide]  1.2   22 years  fgsch   fpathconf(2) returns long.
[TXT] uthread_fstat.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_fstatfs.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_fsync.c (in the Attic) [Hide]  1.5   24 years  d   sync with FreeBSD
[TXT] uthread_gc.c (in the Attic) [Hide]  1.13   20 years  brad   change the variable name used for status checking, LIBC_R_DEBUG -> LIBPTHREAD_DE...
[TXT] uthread_getdirentries.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_getpeername.c (in the Attic) [Hide]  1.4   24 years  d   sync with FreeBSD
[TXT] uthread_getprio.c (in the Attic) [Hide]  1.4   24 years  d   sync with FreeBSD
[TXT] uthread_getschedparam.c (in the Attic) [Hide]  1.3   22 years  fgsch   From FreeBSD: correct priority handling.
[TXT] uthread_getsockname.c (in the Attic) [Hide]  1.4   24 years  d   sync with FreeBSD
[TXT] uthread_getsockopt.c (in the Attic) [Hide]  1.4   24 years  d   sync with FreeBSD
[TXT] uthread_info_openbsd.c (in the Attic) [Hide]  1.9   21 years  marc   sprintf -> snprintf; ok millert@, henning@
[TXT] uthread_init.c (in the Attic) [Hide]  1.31   20 years  marc   threaded version of closefrom pthread_stackseg_np added. Minor bump for these ...
[TXT] uthread_ioctl.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_join.c (in the Attic) [Hide]  1.11   20 years  marc   undefer sigs in all paths through the join code. Based upon patch/report from Ma...
[TXT] uthread_kern.c (in the Attic) [Hide]  1.27.4.1   20 years  brad   MFC: Fix by marc@ refresh curthread after a thread switch so it points to the r...
[TXT] uthread_kevent.c (in the Attic) [Hide]  1.4   20 years  brad   sync FreeBSD RCS id
[TXT] uthread_kill.c (in the Attic) [Hide]  1.11   21 years  marc   fix for pr# 3179 and 3238. Patch verified by author of 3179.
[TXT] uthread_kqueue.c (in the Attic) [Hide]  1.1   20 years  brad   Add wrapper for kqueue() to keep track of the allocated fd and allow it to be cl...
[TXT] uthread_listen.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_main_np.c (in the Attic) [Hide]  1.1   22 years  pvalchev   Provide the equivalent to Solaris thr_main() function; from FreeBSD
[TXT] uthread_mattr_init.c (in the Attic) [Hide]  1.4   24 years  d   sync with FreeBSD
[TXT] uthread_mattr_kind_np.c (in the Attic) [Hide]  1.7   22 years  fgsch   pthread_* do not set errno but returns a errno value.
[TXT] uthread_msync.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_multi_np.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_mutex.c (in the Attic) [Hide]  1.17   21 years  marc   Create a siginfo_t for thread-to-thread kill. Clean up (compiler warning elimin...
[TXT] uthread_mutex_prioceiling.c (in the Attic) [Hide]  1.2   24 years  d   sync with FreeBSD
[TXT] uthread_mutex_protocol.c (in the Attic) [Hide]  1.2   24 years  d   sync with FreeBSD
[TXT] uthread_mutexattr_destroy.c (in the Attic) [Hide]  1.4   21 years  marc   type func(...) -> type\nfunc(...) for function definitions
[TXT] uthread_nanosleep.c (in the Attic) [Hide]  1.7   22 years  fgsch   More changes from FreeBSD, including: o Only poll file descriptors when needed....
[TXT] uthread_once.c (in the Attic) [Hide]  1.4   24 years  d   unused var, test lock return
[TXT] uthread_open.c (in the Attic) [Hide]  1.6   24 years  d   unused var
[TXT] uthread_pipe.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_poll.c (in the Attic) [Hide]  1.10   20 years  millert   Fix -Wsign-compare warnings pointed out by kevlo@, ok marc@
[TXT] uthread_priority_queue.c (in the Attic) [Hide]  1.4   22 years  fgsch   Use _waitq_remove() and _waitq_insert() always; from FreeBSD.
[TXT] uthread_read.c (in the Attic) [Hide]  1.7   22 years  fgsch   Start syncing with FreeBSD: o Implement _get_curthread() and _set_curthread(). ...
[TXT] uthread_readv.c (in the Attic) [Hide]  1.6   20 years  brad   more cancellation points. ok marc@
[TXT] uthread_recvfrom.c (in the Attic) [Hide]  1.6   20 years  brad   Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(), and sendto() cancell...
[TXT] uthread_recvmsg.c (in the Attic) [Hide]  1.5   20 years  brad   Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(), and sendto() cancell...
[TXT] uthread_resume_np.c (in the Attic) [Hide]  1.5   22 years  fgsch   More sync.
[TXT] uthread_rwlock.c (in the Attic) [Hide]  1.5   20 years  brad   Add a simple work-around for deadlocking on recursive readlocks on a rwlock whil...
[TXT] uthread_rwlockattr.c (in the Attic) [Hide]  1.4   24 years  alex   Fix incorrect `pshared' argument type for pthread_rwlockattr_setpshared. rse@eng...
[TXT] uthread_select.c (in the Attic) [Hide]  1.11   20 years  brad   Fixes from FreeBSD's libc_r rev 1.21 Make the libc_r version of select() set th...
[TXT] uthread_self.c (in the Attic) [Hide]  1.4   22 years  fgsch   Start syncing with FreeBSD: o Implement _get_curthread() and _set_curthread(). ...
[TXT] uthread_sem.c (in the Attic) [Hide]  1.1   22 years  fgsch   From FreeBSD: sem_XXX implementation; manpages comming in a bit.
[TXT] uthread_sendmsg.c (in the Attic) [Hide]  1.5   20 years  brad   Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(), and sendto() cancell...
[TXT] uthread_sendto.c (in the Attic) [Hide]  1.6   20 years  brad   Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(), and sendto() cancell...
[TXT] uthread_seterrno.c (in the Attic) [Hide]  1.4   24 years  d   do it the single-processor way
[TXT] uthread_setprio.c (in the Attic) [Hide]  1.5   24 years  d   sync with FreeBSD
[TXT] uthread_setschedparam.c (in the Attic) [Hide]  1.5   22 years  fgsch   Instead of ifdef around ENOTSUP, move it to pthread_private.h and make it EOPNOT...
[TXT] uthread_setsockopt.c (in the Attic) [Hide]  1.4   24 years  d   sync with FreeBSD
[TXT] uthread_shutdown.c (in the Attic) [Hide]  1.4   21 years  marc   white space
[TXT] uthread_sig.c (in the Attic) [Hide]  1.20   21 years  marc   fix for pr# 3179 and 3238. Patch verified by author of 3179.
[TXT] uthread_sigaction.c (in the Attic) [Hide]  1.8   20 years  miod   Off-by-ones, from aaron@
[TXT] uthread_sigaltstack.c (in the Attic) [Hide]  1.3   21 years  marc   Allow the fetching of current stack info from threaded apps. This is necessary ...
[TXT] uthread_sigblock.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_sigmask.c (in the Attic) [Hide]  1.7   20 years  marc   remove variable never read
[TXT] uthread_signal.c (in the Attic) [Hide]  1.5   21 years  marc   signal handling changes. This corrects several signal handling errors in the t...
[TXT] uthread_sigpending.c (in the Attic) [Hide]  1.3   22 years  fgsch   Start syncing with FreeBSD: o Implement _get_curthread() and _set_curthread(). ...
[TXT] uthread_sigprocmask.c (in the Attic) [Hide]  1.4   22 years  fgsch   call pthread_sigmask() instead of having the code twice.
[TXT] uthread_sigsetmask.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_sigsuspend.c (in the Attic) [Hide]  1.5   22 years  fgsch   Start syncing with FreeBSD: o Implement _get_curthread() and _set_curthread(). ...
[TXT] uthread_sigwait.c (in the Attic) [Hide]  1.13   21 years  marc   Create a siginfo_t for thread-to-thread kill. Clean up (compiler warning elimin...
[TXT] uthread_single_np.c (in the Attic) [Hide]  1.5   21 years  marc   type func(...) -> type\nfunc(...) for function definitions
[TXT] uthread_socket.c (in the Attic) [Hide]  1.3   24 years  d   sync with FreeBSD
[TXT] uthread_socketpair.c (in the Attic) [Hide]  1.4   24 years  d   include unistd.h
[TXT] uthread_spec.c (in the Attic) [Hide]  1.7   22 years  fgsch   Start syncing with FreeBSD: o Implement _get_curthread() and _set_curthread(). ...
[TXT] uthread_spinlock.c (in the Attic) [Hide]  1.13   21 years  marc   Create a siginfo_t for thread-to-thread kill. Clean up (compiler warning elimin...
[TXT] uthread_stack.c (in the Attic) [Hide]  1.7   24 years  d   MACHINE_STACK_GROWS_UP
[TXT] uthread_stackseg_np.c (in the Attic) [Hide]  1.3   20 years  marc   Change read_stackseg_np to work with any thread, not just the current thread. ...
[TXT] uthread_suspend_np.c (in the Attic) [Hide]  1.7   22 years  fgsch   put changes back, this time ALL the files.
[TXT] uthread_switch_np.c (in the Attic) [Hide]  1.2   24 years  d   sync with FreeBSD
[TXT] uthread_vfork.c (in the Attic) [Hide]  1.2   24 years  d   sync with FreeBSD
[TXT] uthread_wait4.c (in the Attic) [Hide]  1.7   22 years  marc   Fix problem found by espie (and other porters) where system(...) hangs forever. ...
[TXT] uthread_write.c (in the Attic) [Hide]  1.10   20 years  brad   Fixes from FreeBSD' libc_r rev 1.21 Fix bogus return values from libc_r's write...
[TXT] uthread_writev.c (in the Attic) [Hide]  1.8   20 years  brad   more cancellation points. ok marc@
[TXT] uthread_yield.c (in the Attic) [Hide]  1.5   22 years  fgsch   Start syncing with FreeBSD: o Implement _get_curthread() and _set_curthread(). ...