Re: Custom data formatter for pthread_mutex_t?
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