aboutsummaryrefslogtreecommitdiff
path: root/lib/librt
Commit message (Collapse)AuthorAgeFilesLines
* Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andEnji Cooper2015-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 Notes: svn path=/head/; revision=289172
* Add META_MODE support.Simon J. Gerraty2015-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 Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-274-17/+5
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-194-0/+33
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Merge from headSimon J. Gerraty2013-09-051-3/+4
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | Updated/new Makefile.dependSimon J. Gerraty2012-11-081-0/+4
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242788
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | Build/install libc, librt, libthr, and msun NetBSD test suites on allEnji Cooper2015-04-273-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | architectures MFC after: 1 week Notes: svn path=/head/; revision=282057
* | | | Convert libraries to use LIBADDBaptiste Daroussin2014-11-252-4/+2
| |_|/ |/| | | | | | | | | | | | | | | | | While here reduce a bit overlinking Notes: svn path=/head/; revision=275024
* | | Add reachover Makefiles for contrib/netbsd-tests/lib/librtEnji Cooper2014-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 Notes: svn path=/head/; revision=274580
* | Convert this piece of code to use C11 atomics.Ed Schouten2013-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. Notes: svn path=/head/; revision=252412
* Register signal 33 explicitly as reserved by real-time library, andRobert Millan2012-03-262-7/+5
| | | | | | | | | | use it by its new name (SIGLIBRT) rather than internal definition in librt (SIGSERVICE). Approved by: davidxu, arch Notes: svn path=/head/; revision=233519
* Free unused allocation on error.Konstantin Belousov2011-11-181-0/+2
| | | | | | | | Reported by: slonoman2011 yandex ru MFC after: 1 week Notes: svn path=/head/; revision=227661
* Fix the 32-bit build stage on amd64 when WITH_CTF is enabled. It seemsDimitry Andric2011-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. Notes: svn path=/head/; revision=218984
* To support stack unwinding for cancellation points, add -fexceptions flagDavid Xu2010-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. Notes: svn path=/head/; revision=213153
* Fixed dependencies (make checkdpadd).Ruslan Ermilov2010-02-251-1/+2
| | | | Notes: svn path=/head/; revision=204329
* Build lib/ with WARNS=6 by default.Ed Schouten2010-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. Notes: svn path=/head/; revision=201381
* Make following functions be cancellation points:David Xu2009-11-181-4/+55
| | | | | | | | | | mq_receive mq_send mq_timereceive mq_timedsend Notes: svn path=/head/; revision=199475
* link libpthread because the librt really needs it to fully function.David Xu2009-11-181-0/+1
| | | | Notes: svn path=/head/; revision=199469
* Fix compiler warnings.David Xu2009-11-181-2/+2
| | | | Notes: svn path=/head/; revision=199465
* atomic_fetchadd_int works on unsigned quantities - changeKip Macy2008-08-151-1/+1
| | | | | | | | | sigev_generation to be unsigned MFC after: 1 month Notes: svn path=/head/; revision=181778
* Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it.Daniel Eischen2007-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. Notes: svn path=/head/; revision=169524
* Don't enable symbol versioning for librt by default just yet.Daniel Eischen2007-04-291-0/+2
| | | | Notes: svn path=/head/; revision=169098
* Symbol version librt.Daniel Eischen2007-04-292-0/+71
| | | | Notes: svn path=/head/; revision=169090
* Account for recent changes in namespace.h. Use _pthread_createDaniel Eischen2006-03-291-4/+4
| | | | | | | instead of pthread_create. Notes: svn path=/head/; revision=157242
* Implement SIGEV_THREAD notification for aio_fsync.David Xu2006-03-241-18/+55
| | | | Notes: svn path=/head/; revision=157078
* No need to define NO_MAN here.Ruslan Ermilov2006-03-151-1/+0
| | | | Notes: svn path=/head/; revision=156734
* Block all signals in helper threads except those should not be blocked.David Xu2006-03-101-6/+9
| | | | Notes: svn path=/head/; revision=156529
* Set SNF_SYNC flag for timer, as the timer notification should beDavid Xu2006-03-081-0/+1
| | | | | | | serialized. Notes: svn path=/head/; revision=156414
* Remove stale comments.David Xu2006-03-071-4/+0
| | | | Notes: svn path=/head/; revision=156384
* 1. Always call user callback function in newly created thread, it seemsDavid Xu2006-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. Notes: svn path=/head/; revision=156383
* Use a thread pool to process notification if sigev_notify_attributesDavid Xu2006-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. Notes: svn path=/head/; revision=156267
* save sigev_node pointer.David Xu2006-03-041-0/+1
| | | | Notes: svn path=/head/; revision=156265
* 1. Fix a race in aio_return.David Xu2006-03-011-6/+12
| | | | | | | | 2. Save and restore syscall errno correctly. 3. Style fix. Notes: svn path=/head/; revision=156194
* Style fix.David Xu2006-03-011-1/+2
| | | | Notes: svn path=/head/; revision=156193
* Fix a mutex lock/unlock mismatch.David Xu2006-03-011-2/+3
| | | | Notes: svn path=/head/; revision=156192
* Forgot to revert to use weak symbols when I was debugging, fix it!David Xu2006-03-011-22/+15
| | | | Notes: svn path=/head/; revision=156142
* Add missing parameter mq_attr * for mq_open.David Xu2006-03-011-3/+5
| | | | Notes: svn path=/head/; revision=156141
* Bring in my initial version of POSIX realtime extension library.David Xu2006-03-016-0/+1112
Current the library implements mqueue, timer and aio with SIGEV_THREAD notification supported. Earlier version reviewed by: deischen Notes: svn path=/head/; revision=156136