[#1378] differences between Module and Class ? — Mathieu Bouchard <matju@...>

25 messages 2003/08/11
[#1387] Re: differences between Module and Class ? — matz@... (Yukihiro Matsumoto) 2003/08/12

Hi,

[#1442] Re: differences between Module and Class ? — Mathieu Bouchard <matju@...> 2003/08/21

[#1406] _id2ref bug? — Ryan Pavlik <rpav@...>

While debugging some caching code, I've come across a segfault related

22 messages 2003/08/14
[#1407] Re: _id2ref bug? — matz@... (Yukihiro Matsumoto) 2003/08/14

Hi,

[#1413] Re: _id2ref bug? (REPRODUCED, short) — Ryan Pavlik <rpav@...> 2003/08/14

On Fri, 15 Aug 2003 01:57:18 +0900

Re: exceptions and such

From: matz@... (Yukihiro Matsumoto)
Date: 2003-08-06 01:27:07 UTC
List: ruby-core #1357
Hi,

In message "Re: exceptions and such"
    on 03/08/06, Mathieu Bouchard <matju@sympatico.ca> writes:

|Are you actively working on Ruby 2.0 now? How different will the new API
|be? What kind of compatibility can be expected?

No.  I still need to work on 1.8 for maintenance.  The new API will
differ from the current, for example it will have interpreter
structure to be reentrant.  But I'd like to prepare compatibility
layer, as much as possible.

|I don't know rb_protect(). It's not in README.EXT, as for many other
|useful functions. I don't know what's a more complete and up-to-date
|documentation for that.

Well, I think ruby-doc.org people are working on it.

|> |eval.c has a global variable called "prot_tag" that has to do with that,
|> |but it's static, so I couldn't implement those two macros myself, because
|> |I cannot intercede in the exception-handler-chain without that...
|> Not now.  Planned.
|
|When will this happen? Ruby 2.0 ?

Yes.

|> No signal handler runs Ruby code directly, so that it should be safe.
|
|No, I mean other kinds of interference. Would signals sent to the 2nd
|process still trigger SignalExceptions in the 1st process?

The current Ruby do not work well with pthread, so that we don't need
to worry about it now.  Speaking of the future, it's my nightmare to
tackle pthread signals.

							matz.

In This Thread