Commit 50e8c13
NotificationQueue: Use folly::get_cached_pid() instead of getpid()
Summary:
Use folly::get_cached_pid(), a faster getpid() replacement, in NotificationQueue.
Outline CHECK_EQ from checkPid().
Reviewed By: yfeldblum
Differential Revision: D23433868
fbshipit-source-id: 66ef0e243d74aa176a496e1ae15aeae5e67e4f5c1 parent 5256127 commit 50e8c13
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
279 | | - | |
| 280 | + | |
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
| |||
472 | 473 | | |
473 | 474 | | |
474 | 475 | | |
475 | | - | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
476 | 479 | | |
477 | 480 | | |
478 | 481 | | |
| |||
632 | 635 | | |
633 | 636 | | |
634 | 637 | | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
635 | 645 | | |
636 | 646 | | |
637 | 647 | | |
| |||
0 commit comments