ruby-changes:51549
From: normal <ko1@a...>
Date: Thu, 28 Jun 2018 00:43:39 +0900 (JST)
Subject: [ruby-changes:51549] normal:r63761 (trunk): s/pid_t/rb_pid_t/
normal 2018-06-27 15:01:33 +0900 (Wed, 27 Jun 2018) New Revision: 63761 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63761 Log: s/pid_t/rb_pid_t/ Some platforms do not have pid_t :x Modified files: trunk/mjit.c trunk/process.c Index: process.c =================================================================== --- process.c (revision 63760) +++ process.c (revision 63761) @@ -971,7 +971,7 @@ waitpid_state_init(struct waitpid_state https://github.com/ruby/ruby/blob/trunk/process.c#L971 /* * must be called with vm->waitpid_lock held, this is not interruptible */ -pid_t +rb_pid_t ruby_waitpid_locked(rb_vm_t *vm, rb_pid_t pid, int *status, int options, rb_nativethread_cond_t *cond) { Index: mjit.c =================================================================== --- mjit.c (revision 63760) +++ mjit.c (revision 63761) @@ -120,7 +120,7 @@ extern void rb_native_cond_wait(rb_nativ https://github.com/ruby/ruby/blob/trunk/mjit.c#L120 extern int rb_thread_create_mjit_thread(void (*child_hook)(void), void (*worker_func)(void)); /* process.c */ -pid_t ruby_waitpid_locked(rb_vm_t *, rb_pid_t, int *status, int options, +rb_pid_t ruby_waitpid_locked(rb_vm_t *, rb_pid_t, int *status, int options, rb_nativethread_cond_t *cond); #define RB_CONDATTR_CLOCK_MONOTONIC 1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/