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

Brian {Hamilton Kelly} xitami@lists.xitami.org
Sun, 24 Jun 2001 12:36:54 GMT


In message <42685@dsl.co.uk> I wrote:
> I've not done any multi-threaded development myself either, but AIUI, the
> support for multi-threading in OS/2 is an order of magnitude more
> efficient than that in ANY dialect of Unix.  If you cannot properly
> "corral" multiple execution threads, perhaps Xitami needs to make a
> conscious effort to disable threading.  (Given that OS/2's multi-
> threading support runs to 64 processors; also given that eComStation is
> going to make a cheap SMP O/S available to all those with dual Pentium
> motherboards.)

I failed to make it clear that multi-threading in no way requires
multiple processors (as has already been mentioned elsewhere in this
thread:-)

AIUI, under Linux, creating a separate execution thread is almost as
costly as forking another process, so programs tend to do the latter
rather than the former.  In contrast under OS/2, spawning a thread is a
very cheap operation, so multi-threaded programs are more common.

-- 
Brian {Hamilton Kelly}                                          bhk@dsl.co.uk
    "We have gone from a world of concentrated knowledge and wisdom to one of
    distributed ignorance.  And we know and understand less while being incr-
    easingly capable."              Prof. Peter Cochrane, formerly of BT Labs