Commit 864b9a1
Srinivasan Muralidharan
[FAB-4899] don't use syscall for writing out peer pid
Its probably OK to not have to lock the peer PID file while
writing the PID to it. Using `syscall.Flock` etc to do this
causes failure on Windows platforms.
patch 1
. removed the file removal in case it belongs to a running server
(was in two minds about it... we will overwrite but why remove
unnecessarily...)
Change-Id: I6347ac744eeaa8114728d5357bfaa2292525db15
Signed-off-by: Srinivasan Muralidharan <muralisr@us.ibm.com>1 parent cefe788 commit 864b9a1
1 file changed
+5
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
370 | 372 | | |
371 | 373 | | |
372 | 374 | | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
387 | 378 | | |
388 | 379 | | |
389 | 380 | | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | 381 | | |
402 | 382 | | |
0 commit comments