Commit 3e71f46
committed
refactor(ff_epoll): drop ff_epoll_pairs_lock, F-Stack is single-threaded
F-Stack runs a single-threaded per-process polling model, so the mutex around the kqueue<->host-epoll pair table is unnecessary. Remove ff_epoll_pairs_lock and the pthread.h include from the FF_KERNEL_COEXIST block. Verified: macro-on build rc=0 (P1 unit tests 26/21/54 pass incl. test_ff_epoll); macro-off rc=0 with size 6539682 byte-identical to baseline (zero regression).1 parent 16e32da commit 3e71f46
1 file changed
Lines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
| |||
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
48 | | - | |
49 | 46 | | |
50 | 47 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 48 | + | |
| 49 | + | |
56 | 50 | | |
57 | 51 | | |
58 | 52 | | |
| |||
64 | 58 | | |
65 | 59 | | |
66 | 60 | | |
67 | | - | |
68 | 61 | | |
69 | 62 | | |
70 | 63 | | |
| |||
75 | 68 | | |
76 | 69 | | |
77 | 70 | | |
78 | | - | |
79 | 71 | | |
80 | 72 | | |
81 | 73 | | |
| |||
84 | 76 | | |
85 | 77 | | |
86 | 78 | | |
87 | | - | |
88 | 79 | | |
89 | 80 | | |
90 | 81 | | |
| |||
0 commit comments