X-Git-Url: http://git.madism.org/?p=~madcoder%2Fpwqr.git;a=blobdiff_plain;f=Documentation%2Fpwqr.adoc;h=194209759a63d26a5a204cc6388d4ad4b4e32490;hp=3915ed466ac5ab7bf934072b898edfde5d9317c1;hb=4d4f64ffd9acc95b7c4f816a537d2c1dff8df367;hpb=8869335a04728219d22f8f28b1821d91c694dc03;ds=sidebyside diff --git a/Documentation/pwqr.adoc b/Documentation/pwqr.adoc index 3915ed4..1942097 100644 --- a/Documentation/pwqr.adoc +++ b/Documentation/pwqr.adoc @@ -257,6 +257,9 @@ If the concurrency level is below the target, then the kernel checks if the address `addr` still contains the value `val` (in the fashion of `futex(2)`). If it doesn't then the call doesn't block. Else the calling thread is blocked until a `PWQR_WAKE` command is received. ++ +`addr` must of course be a pointer to an aligned integer which stores the +reference ticket in userland. `PWQR_PARK`:: Puts the thread in park mode. Those are spare threads to avoid