apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: [proposal] apr_thread_setconcurrency()
Date Fri, 14 Sep 2001 22:49:59 GMT
On Fri, Sep 14, 2001 at 03:44:48PM -0700, Aaron Bannert wrote:
> I'd like to propose we add a call that gives a hint to the OS as to
> the level of concurrency we wish to have. This would mirror
> pthread_setconcurrency(), and would be a simple call to that on
> operating systems that have it available. On other platforms it
> would be simple noop.

The problem with this is that we are going to circumvent the OS
scheduler which I think is a bad idea - unless we can show where the 
OS falls down on the job (except in the pedantic case of testthread).
-- justin

View raw message