I would like to propose adding the function apr_thread_yield() as part of 
the threading API's.  The reason for this to to allow applications to force a 
thread to yield the processor during a compute bound operation.  On the NetWare 
platform, not yielding the processor in a timely fashion can cause the entire 
server to become sluggish.  The implementation of this routine for NetWare 
would be as simple as:

void apr_thread_yield()
{
    NXThreadYield();
}

thanks,
Brad


Reply via email to