• 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: Self-scheduling threading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Self-scheduling threading


  • Subject: Re: Self-scheduling threading
  • From: Bob Ippolito <email@hidden>
  • Date: Thu, 17 Mar 2005 17:04:54 -0500


On Mar 17, 2005, at 16:43, Michael Koehmstedt wrote:

On Thu, 17 Mar 2005 07:15:35 -0800, Shawn Erickson <email@hidden> wrote:

On Mar 17, 2005, at 2:06 AM, Michael Koehmstedt wrote:

I need to be able to break up each thread's timeslice into explicitly
schedule mini-threads. Basically exactly like fibers on a win32
system.
[snip]
If there is sufficient interest by other community members, I'd like
to create an open-source Objective-C framework for this kind of
threading model. Whether it means porting an existing C/C++
implementation or a new one, I'm up for whatever. I just want a
solution that's efficient and features an extremely simple
explicitly-scheduled threading model.

Do you really know that their are noticeable gains to be made especially given the work it would take?

(can depend greatly on the number of would be blocking calls that you
are trying to have going in parallel)

If you were in my position, which solution would you look for? I
wouldn't mind using the simplest solution, as long as the performance
is acceptable.

You still haven't stated what you plan to gain by using explicitly scheduled threads rather than pre-emptive OS scheduled threads. Chances are, OS threads are fine, and this premature optimization (explicitly scheduled threads) is potentially (probably) not an optimization at all in the first place.


-bob

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Self-scheduling threading
      • From: Shaun Wexler <email@hidden>
    • Re: Self-scheduling threading
      • From: Michael Koehmstedt <email@hidden>
References: 
 >Self-scheduling threading (From: Michael Koehmstedt <email@hidden>)
 >Re: Self-scheduling threading (From: Dustin Voss <email@hidden>)
 >Re: Self-scheduling threading (From: Michael Koehmstedt <email@hidden>)
 >Re: Self-scheduling threading (From: Shawn Erickson <email@hidden>)
 >Re: Self-scheduling threading (From: Michael Koehmstedt <email@hidden>)

  • Prev by Date: Creating an admin account
  • Next by Date: Crash with SearchKit
  • Previous by thread: Re: Self-scheduling threading
  • Next by thread: Re: Self-scheduling threading
  • Index(es):
    • Date
    • Thread