git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] threaded pack-objects: Use condition variables for thread communication.

From
Nicolas Pitre <nico@cam.org>
Date
Dec 17, 2007, 03:13 UTC
Message-ID
<alpine.LFD.0.999999.0712162203470.8467@xanadu.home>
In-Reply-To
<200712162045.34456.johannes.sixt@telecom.at>
On Sun, 16 Dec 2007, Johannes Sixt wrote:
> Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
One micro nit:
Show 8 quoted lines
> +		for (;;) {
> +			for (i = 0; !target && i < delta_search_threads; i++)
> +				if (!p[i].working)
> +					target = &p[i];
> +			if (target)
> +				break;
> +			pthread_cond_wait(&progress_cond, &progress_mutex);
> +		};
There's a spurious ; here.
Otherwise:
Acked-by: Nicolas Pitre <nico@cam.org>
Nicolas
Previous: Junio C HamanoNext: Johannes Sixt
Message 7 of 11 in “threaded pack-objects: Use condition variables for thread communication.”
  1. threaded pack-objects: Use condition variables for thread communication.Johannes Sixt, Dec 15, 2007
  2. Peter BaumannDec 16, 2007
  3. Johannes SixtDec 16, 2007
  4. Peter BaumannDec 16, 2007
  5. threaded pack-objects: Use condition variables for thread communication.Johannes Sixt, Dec 16, 2007
  6. Junio C HamanoDec 16, 2007
  7. Nicolas PitreDec 17, 2007
  8. Johannes SixtDec 17, 2007
  9. Plug a resource leak in threaded pack-objects code.Johannes Sixt, Dec 17, 2007
  10. Dmitry PotapovDec 17, 2007
  11. David BrownDec 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.