[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re: IO and Process Scheduler

From: kraehe
Subject: [Help-smalltalk] Re: IO and Process Scheduler
Date: Mon, 30 May 2005 17:42:19 +0200
User-agent: Mutt/1.5.9i

Moin Guru's,

  half way back - i've browsed the gst source again.
  I now think that Socket>>next and ServerSocket>>waitForConnection
  had been designed to work with process scheduler, by using the
  fileOp: 13 and 14 primitives before filling a buffer or waiting.
  Now fileOp: 14 is expected to install a signal handle (/me shivers
  about C signals - because C signals are evil) an gst is either
  losing a signal, or some other reason is blocking those methods.

  So I really run into a bug and will check older versions, if
  the bug disappears.

>   The alternate would be to provide a select() primitive. So
>   a MUD server is a single Smalltalk process implementing its
>   own scheduler.

  the alternate would still be usefull, because several designs
  wrap around the select loop, so I wonder why there is'nt any
  fileOp: like PRIM_MULTI_POLL using select and not signals to
  poll an array of FileStreams in addition to a FileStreams.

  mailto:address@hidden             UNA:+.? 'CED+2+:::Linux:2.4.29'UNZ+1'           CETERUM CENSEO WINDOWS ESSE DELENDAM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]