Commit 8359ed8
committed
Improve handling of pthread_mutex_lock error case
We should really be reporting a useful error along with returning
a valid return code if pthread_mutex_lock() throws an error for
some reason. Add that and back-patch to 9.0 as the prior patch.
Pointed out by Alvaro Herrera1 parent f31c149 commit 8359ed8
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
265 | 269 | | |
266 | 270 | | |
267 | 271 | | |
| |||
1112 | 1116 | | |
1113 | 1117 | | |
1114 | 1118 | | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
1115 | 1122 | | |
| 1123 | + | |
1116 | 1124 | | |
1117 | 1125 | | |
1118 | 1126 | | |
| |||
1326 | 1334 | | |
1327 | 1335 | | |
1328 | 1336 | | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
1329 | 1340 | | |
| 1341 | + | |
1330 | 1342 | | |
1331 | 1343 | | |
1332 | 1344 | | |
| |||
0 commit comments