From: Eric Wong <normalperson@yhbt.net>
To: sleepy.penguin@librelist.org
Subject: [sleepy.penguin] [PATCH 2/3] extconf: remove pthread checks
Date: Sat, 13 Apr 2013 19:54:23 +0000 [thread overview]
Message-ID: <1365882864-13256-3-git-send-email-normalperson@yhbt.net> (raw)
In-Reply-To: 1365882864-13256-1-git-send-email-normalperson@yhbt.net
We no longer need to use pthread_* functionality.
---
ext/sleepy_penguin/extconf.rb | 2 --
1 file changed, 2 deletions(-)
diff --git a/ext/sleepy_penguin/extconf.rb b/ext/sleepy_penguin/extconf.rb
index 5e2c223..46aeb00 100644
--- a/ext/sleepy_penguin/extconf.rb
+++ b/ext/sleepy_penguin/extconf.rb
@@ -1,6 +1,5 @@
require 'mkmf'
have_header('sys/epoll.h') or abort 'sys/epoll.h not found'
-have_header("pthread.h") or abort 'pthread.h not found'
have_header('sys/eventfd.h')
# it's impossible to use signalfd reliably with Ruby since Ruby currently
@@ -16,5 +15,4 @@
have_func('rb_thread_io_blocking_region')
have_func('rb_thread_fd_close')
have_func('rb_update_max_fd')
-have_library('pthread')
create_makefile('sleepy_penguin_ext')
--
1.8.2.1.367.gc875ca7
next prev parent reply other threads:[~2013-04-13 19:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-13 19:54 [sleepy.penguin] [PATCH 0/3] minor cleanups and small change Eric Wong
2013-04-13 19:54 ` [sleepy.penguin] [PATCH 1/3] README: update description Eric Wong
2013-04-13 19:54 ` Eric Wong [this message]
2013-04-13 19:54 ` [sleepy.penguin] [PATCH 3/3] set close-on-exec by default under Ruby 2.0 Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/sleepy_penguin/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1365882864-13256-3-git-send-email-normalperson@yhbt.net \
--to=normalperson@yhbt.net \
--cc=sleepy.penguin@librelist.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/sleepy_penguin.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).