Jérémie Courrèges-Anglas
|
24b078a5a1
|
workaround for systems not providing pselect
using a mix of good old select and sigprocmask
Signed-off-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org>
|
2013-04-16 11:09:42 +02:00 |
|
Keith Winstein
|
d17fb7824b
|
Reset fd sets every time we poll (because network.fd() can now change)
|
2012-10-05 00:06:37 -04:00 |
|
Keith Winstein
|
50e75b3127
|
Make sure we're not querying fds that we never polled for in the first place
|
2012-10-04 23:53:34 -04:00 |
|
Keith Winstein
|
a744004bf6
|
Get system timestamp less often (only after sleeping/selecting)
|
2012-07-26 21:13:26 -04:00 |
|
Keith Winstein
|
92ecb99b71
|
Add OpenSSL licensing exception
|
2012-07-20 16:46:00 -04:00 |
|
Keith Winstein
|
5e86700a0a
|
Fix OS X 10.5 problem where FD_ISSET() argument isn't const
|
2012-05-23 03:19:36 -04:00 |
|
Keith Winstein
|
a4dd2fed89
|
Use static local variable for consistency with compressor, dispatch table
|
2012-05-16 00:17:37 -04:00 |
|
Keegan McAllister
|
1d0b16881c
|
Switch to pselect(2) and add signal handling to Select class
|
2012-05-16 00:00:27 -04:00 |
|
Keegan McAllister
|
7fc1aa30a5
|
Move dummy_fd_set into Select
Now that we have select.cc.
|
2012-05-16 00:00:27 -04:00 |
|
Keegan McAllister
|
768d4ce797
|
Make Select a singleton
It's going to manipulate process-global signal state, so multiple
instances do not make sense.
|
2012-05-16 00:00:27 -04:00 |
|
Keegan McAllister
|
0019b9d92a
|
Add a convenience wrapper for select(2)
|
2012-05-16 00:00:27 -04:00 |
|