• 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: Dustin Voss <email@hidden>
  • Date: Wed, 16 Mar 2005 14:37:06 -0800

On 16 Mar, 2005, at 1:25 PM, Michael Koehmstedt wrote:

Hello all,

I need to be able to self-schedule all my threads, similar to the
concept of fibers on Win32. Is this possible with NSThread, or will I
have to resort to pure POSIX threads?

Thanks,
Michael Koehmstedt

So, let me get this straight, you want to write your own scheduler and build pseudo-threads within your time-slice? Maybe there is a better solution?


Fibers seem like co-routines or co-operative threads. NSThread doesn't do co-operative threads, AFAIK. Carbon's co-operative API has probably been deprecated or removed. And I would love a usable co-routine library.

Anyway, I refer you to http://blogs.msdn.com/larryosterman/archive/2005/01/05/347314.aspx.


_______________________________________________ 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: Scott Ribe <email@hidden>
    • Re: Self-scheduling threading
      • From: John Stiles <email@hidden>
References: 
 >Self-scheduling threading (From: Michael Koehmstedt <email@hidden>)

  • Prev by Date: Re: NSBezierPath compositing
  • Next by Date: Re: Wait for NSTask to finish
  • Previous by thread: Self-scheduling threading
  • Next by thread: Re: Self-scheduling threading
  • Index(es):
    • Date
    • Thread