K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-03-17T03:02:48.656928Z K 7 svn:log V 900 - Rework the way thread ordering is enforced so that it actually behaves as expected (issue discovered during detailed testing). Ordering is now an off-by-default option that can be enabled at ALQ creation time using the ALQ_ORDERED flag. - Add an alq_open_flags() KPI call to allow the new ALQ_ORDERED flag to be specified. alq_open() is now implemented as a wrapper around alq_open_flags. - Rename alq_postn() to alq_post_flags() to keep the naming consistent. - Keep a record of some useful debugging printf's (will be removed in a later diff). - Remove some no longer relevant assertions. - Introduce the AQ_VARLEN flag, used internally to indicate the ALQ is variable length message capable. - Protect alq_getn/alq_post from 0 length writes so that the "use less than you asked for" feature works in contexts where no data may be generated. Sponsored by: FreeBSD Foundation END