Fwd: Tight Runloop

  • Its using Webkit - exceptions logged while running it on a seperate thread.
    It only needs to pass strings back to the main thread..

    On 9/25/07, Alastair Houghton <alastair...> wrote:
    >
    > On 25 Sep 2007, at 12:11, Ricky McCrae wrote:
    >
    > It's normally *much* easier to farm the work off to a separate
    > thread, then just have the thread inform the main thread when it's
    > done.  What are you actually doing in your code that you feel can't
    > be done that way?  Remember, "thread safety" *normally* refers to the
    > ability of code to run simultaneously on more than one thread, not to
    > whether it can be invoked at all from a separate thread.  Code that
    > can't run *at all* on a separate thread does exist but it's very much
    > less common.
    >
    > Kind regards,
    >
    > Alastair.
    >
    > --
    > http://alastairs-place.net
    >
  • On 26 Sep 2007, at 00:21, Ricky McCrae wrote:

    > Its using Webkit - exceptions logged while running it on a seperate
    > thread.
    > It only needs to pass strings back to the main thread..

    It sounds suspiciously like you might be misusing WebKit where you
    really want an NSURLConnection or similar.  However, it's difficult
    to be certain because you haven't provided very much information
    about what you're trying to achieve.  Generally speaking, you'll get
    the best advice if you say what you want to do rather than
    (necessarily) how you're currently trying to do it.

    Kind regards,

    Alastair.

    --
    http://alastairs-place.net
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today