Re: Threads. Design. Go for it

2004-01-01 Thread Josh Wilmes
At 16:15 on 12/30/2003 EST, Dan Sugalski [EMAIL PROTECTED] wrote: Your constraints: 2) A perl 5 iThreads it's not a thread, it's a fork. Well, sorta... mode must be available For those of us who aren't particularly familiar with ithreads, what does this imply? What's different, and why

Patch submission gone missing?

2004-01-01 Thread Jeff Clites
I submitted a patch yesterday to [EMAIL PROTECTED], and received the automated response (the ID is [perl #24789]), but it doesn't seem to have been forwarded to the mailing list. Is something up with the tracking system? JEff

Threads Design. A Win32 perspective.

2004-01-01 Thread Nigel Sandever
This is going to be extremely light on details with respect to the current state of the Parrot interpreter. It is also going to be expressed in terms of Win32 APIs. For both of these I apologise in advance. Time, and the or forever hold your peace imperative has overridden my desire to do

Re: Threads. Design. Go for it

2004-01-01 Thread Jeff Clites
On Jan 1, 2004, at 9:43 AM, Josh Wilmes wrote: At 16:15 on 12/30/2003 EST, Dan Sugalski [EMAIL PROTECTED] wrote: Your constraints: 2) A perl 5 iThreads it's not a thread, it's a fork. Well, sorta... mode must be available For those of us who aren't particularly familiar with ithreads, what

Re: More Windows dev questions: Core dumps

2004-01-01 Thread Nigel Sandever
On Wed, 31 Dec 2003 12:17:21 -0500, [EMAIL PROTECTED] (Dan Sugalski) wrote: Does Windows do this? (I know other OSes, like VMS, do *not* do it) If so, how do I enable it? If not, I presume there's some reasonably simple way to attach a debugger to a process that's died. (I hope) You can

Re: Threads. Design. Go for it

2004-01-01 Thread Josh Wilmes
At 11:21 on 01/01/2004 PST, Jeff Clites [EMAIL PROTECTED] wrote: As far as what level needs to implement them, I'd say that parrot has to do enough to make it possible for an HLL to expose ithreads-style threading. Due to the cross-language nature of parrot, practically speaking this

Re: Threads. Design. Go for it

2004-01-01 Thread Dave Mitchell
On Thu, Jan 01, 2004 at 11:21:57AM -0800, Jeff Clites wrote: As far as what level needs to implement them, I'd say that parrot has to do enough to make it possible for an HLL to expose ithreads-style threading. Due to the cross-language nature of parrot, practically speaking this probably

Re: I could not resist

2004-01-01 Thread Gregor N. Purdy
This made me think of one of my Gregor's Word of the Week entries, but when I went looking for it, I realized that it was in the list of potential future entries, not on the live site. So, I went ahead and used this occasion to select trichotillomania for Word of the Week for 2004-01-03:

Re: Problem during make test

2004-01-01 Thread Harry Jackson
Leopold Toetsch wrote: Do you have a SMP machine with SMP enabled in your OS? The unpredictable behavior of your freezes makes me think, that it could be related to multi-threading. OTOH arithmetic tests or such don't utilize threads and no events are being generated. I am running a Cray X1 ( I

Re: Problem during make test

2004-01-01 Thread Jeff Clites
On Dec 30, 2003, at 5:19 PM, Harry Jackson wrote: I have also tried strace and got the following. Try this on parrot rather than Perl. strace on parrot gets to rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 wait4(-1, [WIFEXITED(s) WEXITSTATUS(s) == 0], 0, NULL) = 8423 --- SIGCHLD (Child exited)

Re: Problem during make test

2004-01-01 Thread Dan Sugalski
At 11:29 PM + 1/1/04, Harry Jackson wrote: Leopold Toetsch wrote: Do you have a SMP machine with SMP enabled in your OS? The unpredictable behavior of your freezes makes me think, that it could be related to multi-threading. OTOH arithmetic tests or such don't utilize threads and no events are

Factoring threads friends

2004-01-01 Thread Gordon Henriksen
I just thought I would put forward a summary of how .NET factors its thread-related data structures. It's a successful, performant, lock-free design, and I think a quite interesting factorization of what parrot presently presents as the interpreter. It's the single most successful threading

Re: More Windows dev questions: Core dumps

2004-01-01 Thread Nigel Sandever
On Wed, 31 Dec 2003 12:17:21 -0500, [EMAIL PROTECTED] (Dan Sugalski) wrote: If so, how do I enable it? It is possible to configure DrWatson (Stupid cutesy name) to create a dump file, though I haven't ever found it very useful. If not, I presume there's some reasonably There are several very

A high-level Win32 view of threading in the interpreter.

2004-01-01 Thread Nigel Sandever
This is going to be extremely light on details with respect to the current state of the Parrot interpreter. It is also going to be expressed in terms of Win32 APIs. For both of these I apologise in advance. Time, and the or forever hold your peace imperative has overridden my desire to do

Re: Problem during make test

2004-01-01 Thread Harry Jackson
Dan Sugalski wrote: Just out of curiosity... what version of gcc are you running? We were having no end of problems with the JIT and one of the mutant versions of 2.95 that redhat was packaging up at one point. [EMAIL PROTECTED] pbin]$ gcc -v Reading specs from

Re: Problem during make test

2004-01-01 Thread Dan Sugalski
At 12:34 AM + 1/2/04, Harry Jackson wrote: Dan Sugalski wrote: Just out of curiosity... what version of gcc are you running? We were having no end of problems with the JIT and one of the mutant versions of 2.95 that redhat was packaging up at one point. [EMAIL PROTECTED] pbin]$ gcc -v

Re: Threads Design. A Win32 perspective.

2004-01-01 Thread Uri Guttman
NS == Nigel Sandever [EMAIL PROTECTED] writes: NS REENTRANCY NS Not only must the VMI be coded in a reentrant fashion, with all state NS addressed through pointers (references) loaded into it's Virtual NS register set. All the code underlying it, including syscalls and CRT NS must