White spaces.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@230 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
20905cb7a7
commit
c85537df11
@ -1547,17 +1547,19 @@ void ThreadPoolPrintStats(ThreadPoolStats * stats)
|
|||||||
* Returns:
|
* Returns:
|
||||||
* Always returns 0.
|
* Always returns 0.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
int TPAttrSetMaxJobsTotal( ThreadPoolAttr * attr,
|
int TPAttrSetMaxJobsTotal(
|
||||||
int maxJobsTotal ) {
|
ThreadPoolAttr * attr,
|
||||||
assert( attr != NULL );
|
int maxJobsTotal )
|
||||||
|
{
|
||||||
|
assert( attr != NULL );
|
||||||
|
|
||||||
if( attr == NULL ) {
|
if( attr == NULL ) {
|
||||||
return EINVAL;
|
return EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
attr->maxJobsTotal = maxJobsTotal;
|
attr->maxJobsTotal = maxJobsTotal;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Function: ThreadPoolGetStats
|
* Function: ThreadPoolGetStats
|
||||||
|
Loading…
x
Reference in New Issue
Block a user