Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove prototypes for unimplemented non-portable functions in rthreads. | 2012-03-22 | 1 | -3/+1 | |
| | | | | okay deraadt@ | ||||
* | Remove pthread_suspend* and related functions. This is part of the | 2012-03-22 | 1 | -8/+1 | |
| | | | | rthreads major library bump from last night. okay kettenis@ | ||||
* | <sched.h> is never pulled in from the kernel and #ifdef KERNEL would be | 2012-03-22 | 1 | -8/+2 | |
| | | | | | | the wrong symbol anyway, so zap some lines ok matthew@ | ||||
* | Hide behind #if 0 the sched_*() functions that we don't have yet | 2012-03-22 | 1 | -1/+6 | |
| | | | | Requested and tested against ports by aja@, ok matthew@ | ||||
* | Add sem_timewait() and fix sem_wait()'s handling of signals, so | 2012-03-03 | 1 | -1/+2 | |
| | | | | | | | that it resumes waiting unless the thread was canceled. As part of this, change the internal _sem_wait() function to return zero on success and an errno value on failure instead of 1 on success and zero on failure. | ||||
* | Add pthread_condattr_{get,set}clock(), requested by aja@ | 2012-02-23 | 1 | -1/+7 | |
| | | | | Add pthread_mutex_timedlock(), requested by dcoppa@ | ||||
* | The prototype for pthread_sigmask(2) is supposed to live in <signal.h> | 2012-01-03 | 1 | -2/+1 | |
| | | | | | | instead of <pthread.h>. ok guenther@, millert@ | ||||
* | Add support for pthread_rwlock_timed locks. | 2010-04-12 | 1 | -1/+5 | |
| | | | | from brad. ok kurt, who's too busy to commit | ||||
* | Add pthread_attr_[sg]etguardsize() to match rthread, including manpages | 2008-12-18 | 1 | -1/+3 | |
| | | | | | | Bump lib minor ok otto@ kurt@ marc@; doc review by jmc@ | ||||
* | Move _POSIX_THREAD_SAFE_FUNCTIONS into unistd.h and set it to 200112 | 2008-06-25 | 1 | -2/+1 | |
| | | | | | now that we support all the _r functions required by POSIX 1003.1-2001. Also define _POSIX_REENTRANT_FUNCTIONS. OK kurt@ deraadt@ | ||||
* | give _POSIX_THREAD_* defines a value of 1 so applications that | 2007-03-15 | 1 | -8/+8 | |
| | | | | | conditionally compile code using these defines will work. okay tedu@, marc@, milllert@ | ||||
* | Bump minimum stack size; current setting causes hangs or illegal | 2006-05-30 | 1 | -2/+2 | |
| | | | | | instructions once every few runs. Problem noted by Botond Botyanszki. ok marc@ | ||||
* | Change a debug interface to take const char pointers so we don't ave | 2006-04-09 | 1 | -2/+2 | |
| | | | | | | | | | | to cast away constness whenever we want to pass in a string that is already const -- we copy the string if we want to use it, so having it be non-const in the first place does not make any sense. From tholo@ ok tedu@ | ||||
* | - Prefix MUTEX_TYPE_MAX with PTHREAD_ to avoid namespace pollution. | 2005-10-31 | 1 | -6/+2 | |
| | | | | | | | | - Remove the macros MUTEX_TYPE_FAST and MUTEX_TYPE_COUNTING_FAST. From stefanf FreeBSD ok fgsch@ | ||||
* | and make sure the header change goes in too. | 2005-10-30 | 1 | -1/+2 | |
| | |||||
* | pthead_supsend_all_np and pthread_resume_all_np from freebsd via | 2004-05-01 | 1 | -1/+3 | |
| | | | | | | Kurt Miller <truk at optonline.net>. Kurt says: They're needed for the java hotspot compiler in the 1.3+ jdk OK brad@ | ||||
* | Sync closer to FreeBSD's pthread.h. Fixes up some prototypes | 2004-02-24 | 1 | -31/+29 | |
| | | | | | | and formatting. ok marc@ | ||||
* | add pthread_attr_[get|set]stack | 2004-02-22 | 1 | -2/+4 | |
| | | | | | | From: FreeBSD's libc_r ok marc@ | ||||
* | Some cleanup of pthread.h. Don't conditionalize | 2004-02-22 | 1 | -40/+1 | |
| | | | | | | | | | inclusion of prototypes. Remove some prototypes for functions we do not implement. From: FreeBSD's libc_r ok marc@ | ||||
* | Add missing const for function parameters to match POSIX. | 2004-02-16 | 1 | -3/+3 | |
| | | | | | | From: FreeBSD's libc_r ok marc@ | ||||
* | remove redundant prototypes for pthread_[gs]etconcurrency | 2004-01-27 | 1 | -3/+1 | |
| | | | | in-between #ifdef notyet | ||||
* | Change read_stackseg_np to work with any thread, not just the current | 2004-01-26 | 1 | -2/+2 | |
| | | | | | thread. Requested by truk at optonline dot net and OK-ed by tedu @. | ||||
* | threaded version of closefrom | 2004-01-15 | 1 | -1/+2 | |
| | | | | | pthread_stackseg_np added. Minor bump for these changes occurred a day or so ago and will not be bumped again | ||||
* | Add stub implementations of pthread_[gs]etconcurrency | 2003-12-23 | 1 | -1/+3 | |
| | | | | | | From: FreeBSD' libc_r ok marc@ | ||||
* | Don't need to specify both __dead and __attribute__((__noreturn__)) for | 2003-02-27 | 1 | -2/+2 | |
| | | | | | pthread_exit prototype. Replace with just __dead. OK millert@, marc@ | ||||
* | Create a siginfo_t for thread-to-thread kill. | 2003-01-31 | 1 | -4/+4 | |
| | | | | | Clean up (compiler warning elimination). Compile check options added but commented out as they have not been checked on all architectures, yet. | ||||
* | Use the sources that exist in sibdirs of libpthread, not libc_r | 2003-01-20 | 1 | -2/+2 | |
| | |||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree) | 2002-02-17 | 1 | -55/+47 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 5 | -98/+98 | |
| | |||||
* | tab vs. spaces | 2002-01-18 | 1 | -12/+12 | |
| | |||||
* | while im here, move the ifndef _SCHED_H_ after the copyright message. | 2002-01-18 | 1 | -3/+4 | |
| | |||||
* | From FreeBSD: header for POSIX 1003.1b semaphores. | 2002-01-18 | 2 | -2/+70 | |
| | |||||
* | Change 1st arg in pthread_attr_getdetachstate to const. | 2002-01-10 | 1 | -2/+3 | |
| | |||||
* | Partially sync with FreeBSD; mostly pthread_cancel(3) related changes. | 2001-12-08 | 1 | -9/+9 | |
| | | | | make includes is needed in case you want to play. | ||||
* | put changes back, this time ALL the files. | 2001-09-04 | 1 | -4/+4 | |
| | |||||
* | pthread_main_np prototype | 2001-08-17 | 1 | -1/+2 | |
| | |||||
* | use __x__ formats for __attribute__ arguments; guenther@gac.edu | 2000-12-06 | 1 | -2/+2 | |
| | |||||
* | forward declaration of struct timespec to avoid warning | 2000-06-27 | 1 | -1/+2 | |
| | |||||
* | LIBCR_SRCDIR | 2000-01-06 | 1 | -2/+2 | |
| | |||||
* | volatile the spinlock | 2000-01-06 | 1 | -7/+7 | |
| | |||||
* | always define _POSIX_THREADS; volatile some types (mickey@) | 2000-01-06 | 1 | -7/+5 | |
| | |||||
* | Fix incorrect `pshared' argument type for pthread_rwlockattr_setpshared. | 2000-01-04 | 1 | -2/+2 | |
| | | | | rse@engelschall.com via FreeBSD. | ||||
* | sync with FreeBSD | 1999-11-25 | 4 | -26/+29 | |
| | |||||
* | Remove pthread_atfork() | 1999-06-15 | 1 | -2/+1 | |
| | |||||
* | sync with FreeBSD | 1999-05-26 | 2 | -40/+83 | |
| | |||||
* | ident | 1999-03-10 | 1 | -0/+1 | |
| | |||||
* | missing const (freebsd) | 1999-03-10 | 1 | -2/+2 | |
| | |||||
* | Goodbye, MIT pthreads... you were a handy reference implementation | 1999-03-10 | 55 | -4657/+0 | |
| | |||||
* | move private spinlock protos out | 1999-01-18 | 1 | -4/+2 | |
| | |||||
* | sync with previous changes | 1999-01-18 | 1 | -13/+20 | |
| |