summaryrefslogtreecommitdiffstats
path: root/lib/librt
Commit message (Collapse)AuthorAgeFilesLines
* Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andngie2015-10-121-6/+0
| | | | | | | | | | | | netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
* Add META_MODE support.sjg2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-274-17/+5
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-194-0/+33
| |\
| * | Updated dependenciessjg2014-05-161-1/+1
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge from headsjg2013-09-051-3/+4
| |\ \
| * | | Updated dependenciessjg2013-03-111-0/+1
| | | |
| * | | Updated dependenciessjg2013-02-161-2/+0
| | | |
| * | | Updated/new Makefile.dependsjg2012-11-081-0/+4
| | | |
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+16
| | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | Build/install libc, librt, libthr, and msun NetBSD test suites on allngie2015-04-273-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | architectures MFC after: 1 week
* | | | Convert libraries to use LIBADDbapt2014-11-252-4/+2
| |_|/ |/| | | | | | | | While here reduce a bit overlinking
* | | Add reachover Makefiles for contrib/netbsd-tests/lib/librtngie2014-11-164-0/+33
| |/ |/| | | | | | | | | | | | | | | A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures Sponsored by: EMC / Isilon Storage Division
* | Convert this piece of code to use C11 atomics.ed2013-06-301-3/+4
|/ | | | | | | As mentioned before, we should at least aim to have one piece of code in both user space and kernel space that uses C11 atomics, to get some coverage. This piece of code can be migrated trivially, so it's a good candidate.
* Register signal 33 explicitly as reserved by real-time library, andrmh2012-03-262-7/+5
| | | | | | | use it by its new name (SIGLIBRT) rather than internal definition in librt (SIGSERVICE). Approved by: davidxu, arch
* Free unused allocation on error.kib2011-11-181-0/+2
| | | | | Reported by: slonoman2011 yandex ru MFC after: 1 week
* Fix the 32-bit build stage on amd64 when WITH_CTF is enabled. It seemsdim2011-02-231-1/+1
| | | | | | | | | ctfconvert will corrupt object files that are compiled with -g, if it is not run with -g itself. To fix it, remove -g from CFLAGS in lib/librt/Makefile. If you need to compile this library with debug info, use DEBUG_FLAGS=-g instead, which will work correctly, even when using WITH_CTF.
* To support stack unwinding for cancellation points, add -fexceptions flagdavidxu2010-09-252-14/+12
| | | | | | | for them, two functions _pthread_cancel_enter and _pthread_cancel_leave are added to let thread enter and leave a cancellation point, it also makes it possible that other functions can be cancellation points in libraries without having to be rewritten in libthr.
* Fixed dependencies (make checkdpadd).ru2010-02-251-1/+2
|
* Build lib/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Make following functions be cancellation points:davidxu2009-11-181-4/+55
| | | | | | | mq_receive mq_send mq_timereceive mq_timedsend
* link libpthread because the librt really needs it to fully function.davidxu2009-11-181-0/+1
|
* Fix compiler warnings.davidxu2009-11-181-2/+2
|
* atomic_fetchadd_int works on unsigned quantities - changekmacy2008-08-151-1/+1
| | | | | | sigev_generation to be unsigned MFC after: 1 month
* Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it.deischen2007-05-131-2/+0
| | | | | | | | | | Warning, after symbol versioning is enabled, going back is not easy (use WITHOUT_SYMVER at your own risk). Change the default thread library to libthr. There most likely still needs to be a version bump for at least the thread libraries. If necessary, this will happen later.
* Don't enable symbol versioning for librt by default just yet.deischen2007-04-291-0/+2
|
* Symbol version librt.deischen2007-04-292-0/+71
|
* Account for recent changes in namespace.h. Use _pthread_createdeischen2006-03-291-4/+4
| | | | instead of pthread_create.
* Implement SIGEV_THREAD notification for aio_fsync.davidxu2006-03-241-18/+55
|
* No need to define NO_MAN here.ru2006-03-151-1/+0
|
* Block all signals in helper threads except those should not be blocked.davidxu2006-03-101-6/+9
|
* Set SNF_SYNC flag for timer, as the timer notification should bedavidxu2006-03-081-0/+1
| | | | serialized.
* Remove stale comments.davidxu2006-03-071-4/+0
|
* 1. Always call user callback function in newly created thread, it seemsdavidxu2006-03-075-412/+170
| | | | | | POSIX implies that the user callback function must be executed in clean environment. 2. Use newly introduced pthread stubs in libc.
* Use a thread pool to process notification if sigev_notify_attributesdavidxu2006-03-045-63/+326
| | | | | | | | is default and caller does not require dedicated thread. timer needs a dedicated thread to maintain overrun count correctly in notification context. mqueue and aio can use thread pool to do notification concurrently, the thread pool has lifecycle control, some threads will exit if they have idled for a while.
* save sigev_node pointer.davidxu2006-03-041-0/+1
|
* 1. Fix a race in aio_return.davidxu2006-03-011-6/+12
| | | | | 2. Save and restore syscall errno correctly. 3. Style fix.
* Style fix.davidxu2006-03-011-1/+2
|
* Fix a mutex lock/unlock mismatch.davidxu2006-03-011-2/+3
|
* Forgot to revert to use weak symbols when I was debugging, fix it!davidxu2006-03-011-22/+15
|
* Add missing parameter mq_attr * for mq_open.davidxu2006-03-011-3/+5
|
* Bring in my initial version of POSIX realtime extension library.davidxu2006-03-016-0/+1112
Current the library implements mqueue, timer and aio with SIGEV_THREAD notification supported. Earlier version reviewed by: deischen
OpenPOWER on IntegriCloud