/*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* applications, even if you increased the number of file descriptors
* on your system.
*/
- explicit ShutdownSocketSet(size_t maxFd = 1 << 18);
+ explicit ShutdownSocketSet(int maxFd = 1 << 18);
/**
* Add an already open socket to the list of sockets managed by
}
};
- const size_t maxFd_;
+ const int maxFd_;
std::unique_ptr<std::atomic<uint8_t>[], Free> data_;
folly::File nullFile_;
};