[#444] io_write()/fwrite() and EINTR on Solaris — Jos Backus <jos@...>

I am encountering a problem similar to the one mentioned here,

19 messages 2002/09/06
[#453] Re: io_write()/fwrite() and EINTR on Solaris — nobu.nokada@... 2002/09/08

Hi,

[#454] Re: io_write()/fwrite() and EINTR on Solaris — matz@... (Yukihiro Matsumoto) 2002/09/09

Hi

[#469] Re: io_write()/fwrite() and EINTR on Solaris — Jos Backus <jos@...> 2002/09/09

On Mon, Sep 09, 2002 at 03:55:13PM +0900, Yukihiro Matsumoto wrote:

[#479] Re: io_write()/fwrite() and EINTR on Solaris — Jos Backus <jos@...> 2002/09/10

On Tue, Sep 10, 2002 at 01:04:10AM +0900, Jos Backus wrote:

[#492] Re: io_write()/fwrite() and EINTR on Solaris — Jos Backus <jos@...> 2002/09/21

On Wed, Sep 11, 2002 at 02:23:33AM +0900, Jos Backus wrote:

Re: [Opt] GC: Array marking

From: Michal Rokos <m.rokos@...>
Date: 2002-09-04 09:24:16 UTC
List: ruby-core #429
Hi,

	because no reply was posted, I hope it's OK to commit.

	Commited.

		Michal
		
On Tue, Sep 03, 2002 at 05:53:17PM +0900, Michal Rokos wrote:
> Index: gc.c
> ===================================================================
> RCS file: /src/ruby/gc.c,v
> retrieving revision 1.100
> diff -u -p -r1.100 gc.c
> --- gc.c	2002/09/02 12:19:30	1.100
> +++ gc.c	2002/09/02 16:27:50
> @@ -776,15 +776,17 @@ rb_gc_mark_children(ptr)
>  	break;
>  
>        case T_ARRAY:
> -	{
> +	if (FL_TEST(obj, ELTS_SHARED)) {
> +	    rb_gc_mark(obj->as.array.aux.shared);
> +	}
> +	else {
>  	    long i, len = obj->as.array.len;
>  	    VALUE *ptr = obj->as.array.ptr;
>  
> -	    for (i=0; i < len; i++)
> +	    for (i=0; i < len; i++) {
>  		rb_gc_mark(*ptr++);
> +	    }
>  	}
> -	if (FL_TEST(obj, ELTS_SHARED))
> -	    rb_gc_mark(obj->as.array.aux.shared);
>  	break;
>  
>        case T_HASH:

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michal Rokos                         Czech Technical University, Prague
E-mail:m.rokos@sh.cvut.cz      ICQ:36118339      Jabber:majkl@jabber.cz
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

In This Thread

Prev Next