Commit 74c169e
committed
Improved thread locks on Windows
Changed server thread locks to improve multithreading - work still to do though.
This is mostly MMF2Exts fixes; bluewing-cpp-server doesn't have UI so it doesn't need a separate processing thread as MMF2Exts uses it. However, it can have two writer threads, due to the ping timer thread.
The new lock system has separate locks for server client list, server channel list, server udp and a meta lock (for host/unhost, welcome message change, handler change).
Amended SSL client struct type, as well.
This should be official server build 34.1 parent 6f0cd1d commit 74c169e
File tree
8 files changed
+124
-77
lines changed- Lacewing
- src/windows
- ssl
8 files changed
+124
-77
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2141 | 2141 | | |
2142 | 2142 | | |
2143 | 2143 | | |
2144 | | - | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
2145 | 2152 | | |
2146 | 2153 | | |
2147 | 2154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| |||
0 commit comments