Commit d0c884d3 authored by Pierre Peiffer's avatar Pierre Peiffer Committed by Elliott Hughes
Browse files

Let pthread_create fail if schedparam can't be set



The creation of a thread succeeds even if the requested scheduling
parameters can not be set. This is not POSIX compliant, and even
worse, it leads to a wrong behavior. Let pthread_create() fail in this
case.

Change-Id: Ice66e2a720975c6bde9fe86c2cf8f649533a169c
Signed-off-by: default avatarChristian Bejram <christian.bejram@stericsson.com>
parent e3bc7192
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment