Differences From Artifact [59f972c93b]:
- File src/OFHTTPServer.m — part of check-in [17d57e01ff] at 2019-06-17 02:33:47 on branch trunk — Remove underscores from class names (user: js, size: 20322) [annotate] [blame] [check-ins using]
To Artifact [afbff9f08f]:
- File src/OFHTTPServer.m — part of check-in [a40f3fc829] at 2019-08-11 18:56:14 on branch trunk — Support sockets in multiple threads on AmigaOS (user: js, size: 20356) [annotate] [blame] [check-ins using]
︙ | |||
908 909 910 911 912 913 914 915 916 917 918 919 920 921 | 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 | + | if (_numberOfThreads > 1) { OFMutableArray *threads = [OFMutableArray arrayWithCapacity: _numberOfThreads - 1]; for (size_t i = 1; i < _numberOfThreads; i++) { OFHTTPServerThread *thread = [OFHTTPServerThread thread]; thread.supportsSockets = true; [thread start]; [threads addObject: thread]; } [threads makeImmutable]; _threadPool = [threads copy]; |
︙ |