mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ruby_kill (internal.h, thread.c): use rb_pid_t instead of pid_t.
this fixes the build failure of mswin introduced at r39819. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e0b74f8a4d
commit
d617690a65
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Mar 19 19:50:48 2013 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ruby_kill (internal.h, thread.c): use rb_pid_t instead of pid_t.
|
||||
this fixes the build failure of mswin introduced at r39819.
|
||||
|
||||
Tue Mar 19 17:09:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_conv_enc_opts): convert with one converter, instead
|
||||
|
|
|
@ -308,7 +308,7 @@ VALUE rb_thread_shield_destroy(VALUE self);
|
|||
void rb_mutex_allow_trap(VALUE self, int val);
|
||||
VALUE rb_uninterruptible(VALUE (*b_proc)(ANYARGS), VALUE data);
|
||||
VALUE rb_mutex_owned_p(VALUE self);
|
||||
void ruby_kill(pid_t pid, int sig);
|
||||
void ruby_kill(rb_pid_t pid, int sig);
|
||||
|
||||
/* thread_pthread.c, thread_win32.c */
|
||||
void Init_native_thread(void);
|
||||
|
|
2
thread.c
2
thread.c
|
@ -5204,7 +5204,7 @@ rb_uninterruptible(VALUE (*b_proc)(ANYARGS), VALUE data)
|
|||
}
|
||||
|
||||
void
|
||||
ruby_kill(pid_t pid, int sig)
|
||||
ruby_kill(rb_pid_t pid, int sig)
|
||||
{
|
||||
int err;
|
||||
rb_thread_t *th = GET_THREAD();
|
||||
|
|
Loading…
Add table
Reference in a new issue