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

Re: pthread_sigmask() on windows (wine actualy)

From
Jeff King <peff@peff.net>
Date
May 1, 2016, 17:45 UTC
Message-ID
<20160501174535.GB17321@sigill.intra.peff.net>
In-Reply-To
<CACsJy8BrKsasiXZcc3=mm9Pq=qz_h6pi8edzpmT_7mKxwjnAqQ@mail.gmail.com>
On Sun, May 01, 2016 at 06:06:07PM +0700, Duy Nguyen wrote:
Show 14 quoted lines
> I got this while compiling master today using mingw32 cross toolchain
> 
>     CC run-command.o
> run-command.c: In function 'run_thread':
> run-command.c:596:3: warning: implicit declaration of function
> 'pthread_sigmask' [-Wimplicit-function-declaration]
> run-command.c:596:23: error: 'SIG_BLOCK' undeclared (first use in this function)
> run-command.c:596:23: note: each undeclared identifier is reported
> only once for each function it appears in
> 
> This is added in c792d7b (run-command: teach async threads to ignore
> SIGPIPE - 2016-04-19). From the look of it, wrapping #ifndef
> GIT_WINDOWS_NATIVE is probably enough? I checked gfw/master too to see
> how gfw deals with it, but the commit has not been merged there yet.
I think the fix should go into compat/. See
  http://git.661346.n2.nabble.com/PATCH-0-5-fix-deadlock-in-git-push-tp7653666p7653818.html
(sorry, gmane seems down).
-Peff
Previous: Duy NguyenNext: Johannes Sixt
Message 2 of 4 in “pthread_sigmask() on windows (wine actualy)”
  1. Duy NguyenMay 1, 2016
  2. Jeff KingMay 1, 2016
  3. Windows: add pthread_sigmask() that does nothingJohannes Sixt, May 1, 2016
  4. Jeff KingMay 3, 2016

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.