@@ -25,7 +25,7 @@ namespace llvm {
25
25
class raw_socket_stream ;
26
26
27
27
#ifdef _WIN32
28
- // / \brief Ensures proper initialization and cleanup of winsock resources
28
+ // / Ensures proper initialization and cleanup of winsock resources
29
29
// /
30
30
// / Make sure that calls to WSAStartup and WSACleanup are balanced.
31
31
class WSABalancer {
@@ -36,7 +36,7 @@ class WSABalancer {
36
36
#endif // _WIN32
37
37
38
38
// / \class ListeningSocket
39
- // / \brief Manages a passive (i.e., listening) UNIX domain socket
39
+ // / Manages a passive (i.e., listening) UNIX domain socket
40
40
// /
41
41
// / The ListeningSocket class encapsulates a UNIX domain socket that can listen
42
42
// / and accept incoming connections. ListeningSocket is portable and supports
@@ -60,13 +60,13 @@ class WSABalancer {
60
60
class ListeningSocket {
61
61
62
62
std::atomic<int > FD;
63
- std::string SocketPath; // Never modified after construction
63
+ std::string SocketPath; // Not modified after construction
64
64
65
65
// / If a seperate thread calls ListeningSocket::shutdown, the ListeningSocket
66
66
// / file descriptor (FD) could be closed while ::poll is waiting for it to be
67
- // / ready to perform a I/O operations. ::poll with continue to block even
67
+ // / ready to perform a I/O operations. ::poll will continue to block even
68
68
// / after FD is closed so use a self-pipe mechanism to get ::poll to return
69
- int PipeFD[2 ]; // Never modified after construction
69
+ int PipeFD[2 ]; // Not modified after construction other then deconstructor
70
70
71
71
ListeningSocket (int SocketFD, StringRef SocketPath, int PipeFD[2 ]);
72
72
0 commit comments