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

pthread_sigmask() on windows (wine actualy)

From
Duy Nguyen <pclouds@gmail.com>
Date
May 1, 2016, 11:06 UTC
Message-ID
<CACsJy8BrKsasiXZcc3=mm9Pq=qz_h6pi8edzpmT_7mKxwjnAqQ@mail.gmail.com>
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.

-- 
Duy
Next: Jeff King
Message 1 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.