Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit59182d9

Browse files
committed
Add comment about synchronous signals.
1 parent0150dbd commit59182d9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎src/interfaces/libpq/fe-secure.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.35 2004/01/09 02:02:43 momjian Exp $
14+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.36 2004/01/09 02:17:15 momjian Exp $
1515
*
1616
* NOTES
1717
* The client *requires* a valid server certificate. Since
@@ -1099,7 +1099,11 @@ check_sigpipe_handler(void)
10991099
void
11001100
sigpipe_handler_ignore_send(intsigno)
11011101
{
1102-
/* If we have gotten a SIGPIPE outside send(), exit */
1102+
/*
1103+
*If we have gotten a SIGPIPE outside send(), exit.
1104+
*Synchronous signals are delivered to the thread
1105+
*that caused the signal.
1106+
*/
11031107
if (!PQinSend())
11041108
exit(128+SIGPIPE);/* typical return value for SIG_DFL */
11051109
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp