Date: Sun, 21 Jul 2013 19:06:50 GMT From: Jonathan Anderson <jonathan@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 231325 for review Message-ID: <201307211906.r6LJ6ooc042100@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@231325?ac=10 Change 231325 by jonathan@jonathan-on-zenith on 2013/07/21 19:06:41 Add __tesla_repeat to kernel version of tesla.h. This requires TESLA commit 892f32 to be useful. Affected files ... .. //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/include/tesla.h#6 edit Differences ... ==== //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/include/tesla.h#6 (text+ko) ==== @@ -72,6 +72,12 @@ #include <sys/types.h> +#ifdef _KERNEL +#include <sys/limits.h> +#else +#include <limits.h> +#endif + /** * TESLA events can be serialised either with respect to the current thread * or, using explicit synchronisation, the global execution context. @@ -82,6 +88,8 @@ /** A sequence of TESLA events. Can be combined with && or ||. */ struct __tesla_event* __tesla_sequence(__tesla_event*, ...); +/** A sequence of events that repeats. */ +struct __tesla_event* __tesla_repeat(int min, int max, __tesla_event*, ...); /* TESLA events: */ /** Entering a function (with optionally-specified arguments). */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307211906.r6LJ6ooc042100>