• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOLongResponsePage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOLongResponsePage


  • Subject: Re: WOLongResponsePage
  • From: netBrackets <email@hidden>
  • Date: Wed, 30 Jul 2008 07:54:58 -0500

> If you need updated information in the rest of the app, do a
>refreshing refetch.
Isn't this something that would need to be done by the main RR thread(s) on their own contexts?.  If so then how will the main threads know when a refretch needs to be done?  I don't want them doing refetches for the whole 8 hours just in case there is new data.  Or is this a way for the background thread to cause fetches to occur within the main OSC stack?

Also, I really don't want to cause everything to have to refetch when each little bit of new data becomes available, I want each bit to be available as its posted by the background task, and is kind of why I was thinking I'd need to use the same OSC and have the background thread carefully lock and unlock it as needed.  Or am I thinking about something wrong here?



On Wednesday, July 30, 2008, at 12:53AM, "Guido Neitzer" <email@hidden> wrote:
>On 29.07.2008, at 22:23, Jeff Schmitz wrote:
>
>> My first question is, now that I'm using EOs throughout my app
>> (including the background process) is there any reason to use the
>> WOLongResponsePage if I still don't care about the status page?
>
>No.
>
>> I'll save my context locking and memory flushing questions until
>> after I've researched the subject a little more.  From what I can
>> tell though, I'll want to create a new editing context for the
>> background thread (not sure about needing an independent Object
>> store coordinator for the background process, but I don't think so),
>> so that's a start.
>
>Create a new OSC too, it's safer.
>
>> Finally, anything in project Wonder that can help me?  I did run
>> across this:
>>
>> http://webobjects.mdimension.com/wonder/api/er/extensions/concurrency/class-use/ERXLongResponseTask.html#er.extensions.concurrency
>>
>> but again, very terse docs.
>
>It's more a replacement for WOLongResponsePage. Fork a thread and work
>there. If you need updated information in the rest of the app, do a
>refreshing refetch.
>
>cug
>
>--
>http://www.event-s.net
>
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: WOLongResponsePage
      • From: Guido Neitzer <email@hidden>
References: 
 >WOLongResponsePage (From: Jeff Schmitz <email@hidden>)
 >Re: WOLongResponsePage (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Third Party Jar Project
  • Next by Date: Re: WOLongResponsePage
  • Previous by thread: Re: WOLongResponsePage
  • Next by thread: Re: WOLongResponsePage
  • Index(es):
    • Date
    • Thread