summaryrefslogtreecommitdiffstats
path: root/lib/librt
Commit message (Collapse)AuthorAgeFilesLines
* MFC r312452-r312512:ngie2017-02-101-2/+2
| | | | | | | | | | r312452-r312512: - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output - Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
* MFC r306588:kib2016-10-093-2/+9
| | | | Export the mq_getfd_np() and timer_oshandle_np() symbols from librt.so.
* MFC 302860: Fix aio system call wrappers in librt.jhb2016-07-251-7/+15
| | | | | | | | | | - Update aio_return/waitcomplete wrappers for the ssize_t return type. - Fix the aio_return() wrapper to fail with EINVAL on a pending job. This matches the semantics of the in-kernel system call. Also, aio_return() returns errors via errno, not via the return value. Approved by: re (gjb) Sponsored by: Chelsio Communications
* Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedngie2016-05-041-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after r298107 Summary of changes: - Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup) Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info. MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division
* MFHgjb2016-03-101-0/+22
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Connect MK_TESTS.bdrewery2016-03-091-0/+22
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
* | First pass through library packaging.gjb2016-02-041-0/+1
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | First pass to fix the 'tests' packages.gjb2016-02-021-0/+4
|/ | | | Sponsored by: The FreeBSD Foundation
* Unbreak symbol versioning. I have no idea when it was broken, but it's beendeischen2015-11-292-1/+2
| | | | at least a few months if not a year or more.
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.bdrewery2015-11-251-1/+0
| | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division
* 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
|
OpenPOWER on IntegriCloud