summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove prototypes for unimplemented non-portable functions in rthreads.kurt2012-03-221-3/+1
| | | | okay deraadt@
* Remove pthread_suspend* and related functions. This is part of thekurt2012-03-221-8/+1
| | | | rthreads major library bump from last night. okay kettenis@
* <sched.h> is never pulled in from the kernel and #ifdef KERNEL would beguenther2012-03-221-8/+2
| | | | | | the wrong symbol anyway, so zap some lines ok matthew@
* Hide behind #if 0 the sched_*() functions that we don't have yetguenther2012-03-221-1/+6
| | | | Requested and tested against ports by aja@, ok matthew@
* Add sem_timewait() and fix sem_wait()'s handling of signals, soguenther2012-03-031-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@guenther2012-02-231-1/+7
| | | | Add pthread_mutex_timedlock(), requested by dcoppa@
* The prototype for pthread_sigmask(2) is supposed to live in <signal.h>kettenis2012-01-031-2/+1
| | | | | | instead of <pthread.h>. ok guenther@, millert@
* Add support for pthread_rwlock_timed locks.tedu2010-04-121-1/+5
| | | | from brad. ok kurt, who's too busy to commit
* Add pthread_attr_[sg]etguardsize() to match rthread, including manpagesguenther2008-12-181-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 200112millert2008-06-251-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 thatkurt2007-03-151-8/+8
| | | | | conditionally compile code using these defines will work. okay tedu@, marc@, milllert@
* Bump minimum stack size; current setting causes hangs or illegalotto2006-05-301-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 avekrw2006-04-091-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.brad2005-10-311-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.brad2005-10-301-1/+2
|
* pthead_supsend_all_np and pthread_resume_all_np from freebsd viamarc2004-05-011-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 prototypesbrad2004-02-241-31/+29
| | | | | | and formatting. ok marc@
* add pthread_attr_[get|set]stackbrad2004-02-221-2/+4
| | | | | | From: FreeBSD's libc_r ok marc@
* Some cleanup of pthread.h. Don't conditionalizebrad2004-02-221-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.brad2004-02-161-3/+3
| | | | | | From: FreeBSD's libc_r ok marc@
* remove redundant prototypes for pthread_[gs]etconcurrencybrad2004-01-271-3/+1
| | | | in-between #ifdef notyet
* Change read_stackseg_np to work with any thread, not just the currentmarc2004-01-261-2/+2
| | | | | thread. Requested by truk at optonline dot net and OK-ed by tedu @.
* threaded version of closefrommarc2004-01-151-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]etconcurrencybrad2003-12-231-1/+3
| | | | | | From: FreeBSD' libc_r ok marc@
* Don't need to specify both __dead and __attribute__((__noreturn__)) forcloder2003-02-271-2/+2
| | | | | pthread_exit prototype. Replace with just __dead. OK millert@, marc@
* Create a siginfo_t for thread-to-thread kill.marc2003-01-311-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_rmarc2003-01-201-2/+2
|
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-171-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.millert2002-02-165-98/+98
|
* tab vs. spacesfgsch2002-01-181-12/+12
|
* while im here, move the ifndef _SCHED_H_ after the copyright message.fgsch2002-01-181-3/+4
|
* From FreeBSD: header for POSIX 1003.1b semaphores.fgsch2002-01-182-2/+70
|
* Change 1st arg in pthread_attr_getdetachstate to const.fgsch2002-01-101-2/+3
|
* Partially sync with FreeBSD; mostly pthread_cancel(3) related changes.fgsch2001-12-081-9/+9
| | | | make includes is needed in case you want to play.
* put changes back, this time ALL the files.fgsch2001-09-041-4/+4
|
* pthread_main_np prototypepvalchev2001-08-171-1/+2
|
* use __x__ formats for __attribute__ arguments; guenther@gac.eduderaadt2000-12-061-2/+2
|
* forward declaration of struct timespec to avoid warningart2000-06-271-1/+2
|
* LIBCR_SRCDIRd2000-01-061-2/+2
|
* volatile the spinlockd2000-01-061-7/+7
|
* always define _POSIX_THREADS; volatile some types (mickey@)d2000-01-061-7/+5
|
* Fix incorrect `pshared' argument type for pthread_rwlockattr_setpshared.alex2000-01-041-2/+2
| | | | rse@engelschall.com via FreeBSD.
* sync with FreeBSDd1999-11-254-26/+29
|
* Remove pthread_atfork()d1999-06-151-2/+1
|
* sync with FreeBSDd1999-05-262-40/+83
|
* identd1999-03-101-0/+1
|
* missing const (freebsd)d1999-03-101-2/+2
|
* Goodbye, MIT pthreads... you were a handy reference implementationd1999-03-1055-4657/+0
|
* move private spinlock protos outd1999-01-181-4/+2
|
* sync with previous changesd1999-01-181-13/+20
|