search for: serialize_responses

Displaying 2 results from an estimated 2 matches for "serialize_responses".

2019 May 20
0
Re: [nbdkit PATCH 1/2] plugins: Add .thread_model callback
...is used but where parallel connections can still be made (that is slightly different than SERIALIZE_ALL_REQUESTS, not sure where it would lie conceptually between existing models), and a model that allows parallel requests from a single connection but delays responses to be in order (perhaps named SERIALIZE_RESPONSES, conceptually lies between SERIALIZE_REQUESTS and PARALLEL). We could add a utility helper function that, when given two constants, returns -1/0/1 depending on whether the first parameter is stricter/equal/looser than the second, to at least ease any out-of-order defined integer values back into a...
2019 May 20
2
Re: [nbdkit PATCH 1/2] plugins: Add .thread_model callback
On Mon, May 20, 2019 at 07:30:31AM -0500, Eric Blake wrote: > +=head2 C<.thread_model> > + > + int thread_model (void) > + > +This optional callback is called after all the configuration has been > +passed to the plugin. It can be used to force a stricter thread model > +based on configuration, compared to C<THREAD_MODEL>. See L</THREADS> > +below for