History log of /dflybsd-src/lib/libc/gen/makecontext_quick.3 (Results 1 – 6 of 6)
Revision Date Author Comments
# 4a5f69f6 09-Mar-2019 Sascha Wildner <saw@online.de>

Fix some section name typos in various manual pages.

While here, fix some other minor issues like starting new sentences
on new lines etc.


# cc789515 12-Apr-2016 zrj <rimvydas.jasinskas@gmail.com>

libc: Fix mdoc warnings on escaped characters.


# c8e38d4b 21-Jan-2016 Sascha Wildner <saw@online.de>

Fix SEE ALSO sorting in a number of manual pages.


# 0e9f503d 10-Jan-2016 Sascha Wildner <saw@online.de>

makecontext_quick.3: Adjust swapcontext_quick() prototype to <ucontext.h>.

While here, start one sentence on a new line.


# a282008c 22-Dec-2015 Matthew Dillon <dillon@apollo.backplane.com>

libc - fix makecontext build issues

* Enhance makecontext_quick manual page code example.

* Remove mcontext.S (old get_mcontext and set_mcontext calls) from build.


# 819d0c16 21-Dec-2015 Matthew Dillon <dillon@apollo.backplane.com>

libc - Add quick version for the context management functions.

* Add makecontext_quick(), setcontext_quick(), and swapcontext_quick().
These functions work similarly to the non-quick versions but

libc - Add quick version for the context management functions.

* Add makecontext_quick(), setcontext_quick(), and swapcontext_quick().
These functions work similarly to the non-quick versions but are designed
for fast synchronous switching. These functions do not mess with the
signal mask or stack at all and do not save or restore scratch registers.

* These functions make no system calls. Switching time can be as low as
~5 nanoseconds.

* These functions also provide optimizations for coroutine fall-through
linkages.

* Note that the coroutine / start-function callback arguments are somewhat
different. Start functions are called back as cofunc(ucp, arg). Var-args
are not supported and the stack is minimally aligned and initialized.

* Remove the old internal set_mcontext() and get_mcontext() routines.

show more ...