diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-05-14 22:10:55 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 22:10:55 +1200 |
commit | 0e3b0fcdba70cf96a8e0654eb8f50aacb8024bd4 (patch) | |
tree | 74d381412dfd8ff49dd3039f8aeae09ad9e4e6e3 /ext/socket/rubysocket.h | |
parent | 336119dfc5e6baae0a936d6feae780a61975479c (diff) |
Thread scheduler for light weight concurrency.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3032
Merged-By: ioquatix <samuel@codeotaku.com>
Diffstat (limited to 'ext/socket/rubysocket.h')
-rw-r--r-- | ext/socket/rubysocket.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/socket/rubysocket.h b/ext/socket/rubysocket.h index 867e215273..fcea2a5a05 100644 --- a/ext/socket/rubysocket.h +++ b/ext/socket/rubysocket.h @@ -36,13 +36,7 @@ # if defined(_MSC_VER) # undef HAVE_TYPE_STRUCT_SOCKADDR_DL # endif -/* - * FIXME: failures if we make nonblocking the default - * [ruby-core:89973] [ruby-core:89976] [ruby-core:89977] [Bug #14968] - */ -# define RSOCK_NONBLOCK_DEFAULT (0) #else -# define RSOCK_NONBLOCK_DEFAULT (0) # include <sys/socket.h> # include <netinet/in.h> # ifdef HAVE_NETINET_IN_SYSTM_H @@ -260,7 +254,6 @@ typedef union { #define INET_SOCKS 2 extern int rsock_do_not_reverse_lookup; -extern int rsock_cmsg_cloexec_state; #define FMODE_NOREVLOOKUP 0x100 /* common socket families only */ |