summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strdup.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-02-22 18:05:15 +0000
committerjhb <jhb@FreeBSD.org>2001-02-22 18:05:15 +0000
commit3f7cd4b04428035956724be61251f934d3657e63 (patch)
tree3aebec56adddb3b22f31ab896baf634156239f04 /lib/libc/string/strdup.c
parentd634c33dd2975563e805c82c47ca3ae583538e8a (diff)
downloadFreeBSD-src-3f7cd4b04428035956724be61251f934d3657e63.zip
FreeBSD-src-3f7cd4b04428035956724be61251f934d3657e63.tar.gz
- Change ast() to take a pointer to a trapframe like other architectures.
- Don't use an atomic operation to update cnt.v_soft in ast(). This is the only place the variable is written to, and sched_lock is always held when it is written, so it is already protected and the mutex release of sched_lock asserts a memory barrier that ensures the value will be updated in a timely fashion.
Diffstat (limited to 'lib/libc/string/strdup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud