sched/: Remove dangling space at the end of lines.
This commit is contained in:
parent
f87d5a3f81
commit
031fbfc6bc
@ -179,7 +179,7 @@ int pthread_mutex_trylock(FAR pthread_mutex_t *mutex)
|
||||
DEBUGASSERT(mutex->pid != 0); /* < 0: available, >0 owned, ==0 error */
|
||||
DEBUGASSERT((mutex->flags & _PTHREAD_MFLAGS_INCONSISTENT) != 0);
|
||||
|
||||
/* A thread holds the mutex, but there is no such thread.
|
||||
/* A thread holds the mutex, but there is no such thread.
|
||||
* POSIX requires that the 'robust' mutex return EOWNERDEAD
|
||||
* in this case. It is then the caller's responsibility to
|
||||
* call pthread_mutx_consistent() fo fix the mutex.
|
||||
|
@ -159,5 +159,5 @@ errout_with_csection:
|
||||
errout_with_lock:
|
||||
sched_unlock();
|
||||
set_errno(errcode);
|
||||
return ERROR;
|
||||
return ERROR;
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ static void lpwork_boostworker(pid_t wpid, uint8_t reqprio)
|
||||
|
||||
if (reqprio > wtcb->sched_priority)
|
||||
{
|
||||
/* Raise the priority of the worker thread. This cannot cause
|
||||
/* Raise the priority of the worker thread. This cannot cause
|
||||
* context switch because we have preemption disabled. The task
|
||||
* will be marked "pending" and the switch will occur during
|
||||
* sched_unlock() processing.
|
||||
|
Loading…
x
Reference in New Issue
Block a user