• 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: Custom data formatter for pthread_mutex_t?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom data formatter for pthread_mutex_t?


  • Subject: Re: Custom data formatter for pthread_mutex_t?
  • From: Cem Karan <email@hidden>
  • Date: Tue, 21 Aug 2007 12:31:21 -0400

On ATue, 21 Aug 2007 13:44:25, Jonas Maebe wrote:

On 21 Aug 2007, at 13:29, Cem Karan wrote:

Since threads can operate in any order, and since fuzzing is at
best a statistical process that depends on different runs being
truly different (the thread run order needs to change each time the
program runs), does anyone know of a method of increasing the
scheduling jitter in pthreads?

Running multiple instances of your program in parallel? (and if possible, varying the number of threads it uses)

I can see how multiple instances will work well for some programs, but not for the particular one I'm working on (it needs exclusive access to a piece of hardware I'm working on). However, I like the idea of multiple threads, or even of one thread that is off on its own, grabbing and releasing locks at random, and for random amounts of time. That should increase the jitter significantly, and it is easily extensible to multi-core/processor machines; thanks!


Thanks,
Cem Karan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: creating a .dylib and .la file - how?
  • Next by Date: pthreads and standard C library calls and maybe magic Xcode switches
  • Previous by thread: Re: Custom data formatter for pthread_mutex_t?
  • Next by thread: How to generate preprocessed intermediate files?
  • Index(es):
    • Date
    • Thread