Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1 |
|
#
74fa2560 |
| 11-Sep-2021 |
Tomohiro Kusumi <tkusumi@netbsd.org> |
sys/kern: Add fdatasync(2)
Based on the following FreeBSD commits in 2016. 295af703a0d7987c6cf4987e7b7f5f07b3ca1221 1c1cc89580f0fbfabaf6f6c7f0f6440eef0c128e
Add the syscall and also add it to pthre
sys/kern: Add fdatasync(2)
Based on the following FreeBSD commits in 2016. 295af703a0d7987c6cf4987e7b7f5f07b3ca1221 1c1cc89580f0fbfabaf6f6c7f0f6440eef0c128e
Add the syscall and also add it to pthread's cancellation point. The default behavior is same as fsync(2), which is fine but inefficient.
show more ...
|
Revision tags: v6.0.0, v6.0.0rc1, v6.1.0 |
|
#
9e4cdec7 |
| 17-Feb-2021 |
Sascha Wildner <saw@online.de> |
libc: Change microseconds args of ualarm() and usleep() to useconds_t.
It's a standard type and more expressive.
No functional change, unsigned int becomes uint32_t.
|
#
86ccdacb |
| 17-Jan-2021 |
Aaron LI <aly@aaronly.me> |
Implement clock_nanosleep(2) system call
* Extend the nanosleep1() function in kern_time.c to support the clock_nanosleep(2) system call. Add {kern,sys}_clock_nanosleep() functions and update k
Implement clock_nanosleep(2) system call
* Extend the nanosleep1() function in kern_time.c to support the clock_nanosleep(2) system call. Add {kern,sys}_clock_nanosleep() functions and update kern_nanosleep() accordingly.
* Add clock_nanosleep() syscall to syscalls.master and regenerate syscall-related files.
* Update libc symbols with the new syscall.
* Add clock_nanosleep() warpper in libthread_xu.
* Update nanosleep.2 man page to describe clock_nanosleep().
* Update <time.h> and bump __DragonFly_version.
This work is loosely based on the FreeBSD implementation: https://reviews.freebsd.org/rS315526
This clock_nanosleep(2) syscall passed all tests in the Open POSIX Test Suite [0]:
conformance/interfaces/clock_nanosleep/1-1: execution: PASS conformance/interfaces/clock_nanosleep/1-2: execution: PASS conformance/interfaces/clock_nanosleep/1-3: execution: PASS conformance/interfaces/clock_nanosleep/1-4: execution: PASS conformance/interfaces/clock_nanosleep/1-5: execution: PASS conformance/interfaces/clock_nanosleep/2-1: execution: PASS conformance/interfaces/clock_nanosleep/2-2: execution: PASS conformance/interfaces/clock_nanosleep/2-3: execution: PASS conformance/interfaces/clock_nanosleep/3-1: execution: PASS conformance/interfaces/clock_nanosleep/4-1: execution: PASS conformance/interfaces/clock_nanosleep/5-1: execution: PASS conformance/interfaces/clock_nanosleep/6-1: execution: PASS conformance/interfaces/clock_nanosleep/9-1: execution: PASS conformance/interfaces/clock_nanosleep/8-1: execution: PASS conformance/interfaces/clock_nanosleep/10-1: execution: PASS conformance/interfaces/clock_nanosleep/11-1: execution: PASS conformance/interfaces/clock_nanosleep/13-1: execution: PASS conformance/interfaces/clock_nanosleep/15-1: execution: PASS
[0] Open POSIX Test Suite: http://posixtest.sourceforge.net/
Reviewed-by: swildner, dillon, tuxillo, zach
show more ...
|
#
940be950 |
| 08-Dec-2020 |
zrj <rimvydas.jasinskas@gmail.com> |
pthreads: Use pthread_t type in libthread_xu.
Separated from upcoming work to allow easier differentiation between non-pointers, single and double pointers. Inclusion of thr_private.h already pr
pthreads: Use pthread_t type in libthread_xu.
Separated from upcoming work to allow easier differentiation between non-pointers, single and double pointers. Inclusion of thr_private.h already provides all needed information to dereference these types.
No functional change
show more ...
|
Revision tags: v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2 |
|
#
811de3b6 |
| 20-Mar-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
pthreads - sleep() needs strong reference
* Fix problem with sleep() not canceling due to missing strong reference.
Reported-by: godfrey
|
Revision tags: v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1 |
|
#
6be5672c |
| 16-Sep-2016 |
zrj <rimvydas.jasinskas@gmail.com> |
pthread: Fix some warnings, do not raise WARNS to 6.
Using -Os will create lots of -Winline, thus leave at 5 by default. Sorry for __is_threaded.
|
#
19451dc5 |
| 16-Sep-2016 |
zrj <rimvydas.jasinskas@gmail.com> |
pthread: General pre-cleanup (style, typos etc)
No functional change.
|
#
d3b15642 |
| 16-Sep-2016 |
zrj <rimvydas.jasinskas@gmail.com> |
pthread: Sync copyright changes with FreeBSD.
Taken-from: FreeBSD
|
Revision tags: v4.6.0 |
|
#
f7511078 |
| 29-Jul-2016 |
Matthew Dillon <dillon@apollo.backplane.com> |
libthread_xu - Don't override vfork()
* Allow vfork() to operate normally in a threaded environment. The kernel can handle multiple concurrent vfork()s by different threads (only the calling th
libthread_xu - Don't override vfork()
* Allow vfork() to operate normally in a threaded environment. The kernel can handle multiple concurrent vfork()s by different threads (only the calling thread blocks, same as how Linux deals with it).
show more ...
|
Revision tags: v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2 |
|
#
6d2444c4 |
| 12-Dec-2015 |
Imre Vadasz <imre@vdsz.com> |
kernel - Implement ppoll system call with precise microseconds timeout.
* Implement a maximum timeout of 2000s, because systimer(9) just accepts an int timeout in microseconds.
* Add kern.kv_slee
kernel - Implement ppoll system call with precise microseconds timeout.
* Implement a maximum timeout of 2000s, because systimer(9) just accepts an int timeout in microseconds.
* Add kern.kv_sleep_threshold sysctl variable for tuning the threshold for the ppoll sleep duration (in nanoseconds), below which we will busy-loop with DELAY instead of using tsleep for waiting.
show more ...
|
Revision tags: v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|
Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0 |
|
#
83a11774 |
| 25-Jul-2009 |
Nicolas Thery <nthery@gmail.com> |
add openat(2) system call
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1435> Reviewed-by: dillon@
|
Revision tags: v2.3.2, v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1 |
|
#
ae7cb1b5 |
| 10-Jan-2008 |
Nicolas Thery <nth@dragonflybsd.org> |
Add pselect syscall.
Add pselect man page (obtained from FreeBSD).
Add pselect wrapper in libthread_xu that calls pselect syscall.
Add pselect wrapper in libc_r that calls poll syscall (see XXX in
Add pselect syscall.
Add pselect man page (obtained from FreeBSD).
Add pselect wrapper in libthread_xu that calls pselect syscall.
Add pselect wrapper in libc_r that calls poll syscall (see XXX in code and BUGS in pselect man page).
Changed libbind to use pselect syscall instead of locally defined wrapper.
show more ...
|
#
fc71f871 |
| 06-Apr-2006 |
David Xu <davidxu@dragonflybsd.org> |
WARNS level 4 cleanup.
|
#
5a1048c8 |
| 05-Apr-2006 |
David Xu <davidxu@dragonflybsd.org> |
Convert weak reference to strong reference so that static library will work better.
|
#
a9df9cc6 |
| 02-Nov-2005 |
David Xu <davidxu@dragonflybsd.org> |
Remove a redundant tls_get_curthread() call. In raise(), use a shortcut to send signal to current thread.
|
#
807d43a0 |
| 25-Oct-2005 |
David Xu <davidxu@dragonflybsd.org> |
Make usleep as a cancellation point.
|
#
9e2ee207 |
| 29-Mar-2005 |
Joerg Sonnenberger <joerg@dragonflybsd.org> |
Cleanup the TLS implementation: - Define the TCB layout in machine/tls.h, define wether tcb_self exists or not. - Define the layout of the DTV, not used yet. - Define the TLS variant - Define commo
Cleanup the TLS implementation: - Define the TCB layout in machine/tls.h, define wether tcb_self exists or not. - Define the layout of the DTV, not used yet. - Define the TLS variant - Define common access functions (tls_get_tcb, tls_get_curthread, tls_set_tcb) and the RTLD functions.
show more ...
|
#
ef548264 |
| 21-Feb-2005 |
David Xu <davidxu@dragonflybsd.org> |
Remove debug code.
|
#
71b3fa15 |
| 01-Feb-2005 |
David Xu <davidxu@dragonflybsd.org> |
Import initial version of 1:1 pthread library.
|
#
d1cf13b9 |
| 23-Jan-2011 |
Sascha Wildner <saw@online.de> |
libthread_xu: Raise WARNS to 5 and fix warnings.
|