[Xitami] SMP Problem (WAS: Xitami 2.4d9/Xitami 2.5b5)

Ewen McNeill xitami@lists.xitami.org
Sun, 24 Jun 2001 06:14:01 +1200


In message <E15Dre5-0001ll-00@Mail.MH-Hannover.DE>, "Dr. Martin R. Hadam" writes:
> I've done some deep thinking <g> and then tested one thing I'd
>apparently  forgotten (shame on me!): since the problem [see below] is
>occuring on an SMP machine, I've disabled the use of both processors
>using execmode and voilą - Xitami is now perfectly stable again. 

Ah ha. 

I was going to say that Xitami didn't use threads, so I didn't see what
the problem could be, but IIRC there are a few minor uses of threads for
various auxillary things (and EMX uses threads for a few things).
(Xitami mostly works as a single process, single thread, and uses
select() and SMT to figure out what to do next.)

Our development version makes even less use of thread-related things, so
it's possible the problem might go away with that.  Unfortunately we
don't curerntly have an OS/2 development system, let alone a SMP-capable
OS/2 development system available.  However I do have a SMP Linux
development system, and I might try playing there and see if anything
breaks.

And it's useful to know that single-threaded Xitami is very stable. 

Thanks for following this up.

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com