commit | d0c884d3595ecca03c3e70de9909c090cd5f9cae | [log] [tgz] |
---|---|---|
author | Pierre Peiffer <pierre.peiffer@stericsson.com> | Wed Feb 22 16:40:15 2012 +0100 |
committer | Elliott Hughes <enh@google.com> | Tue May 08 10:54:51 2012 -0700 |
tree | a15fbefbe3ffcf1fc111ec284a1c62dcf3beddc6 | |
parent | e3bc7192ec4254bed00eb8b352735665c6072995 [diff] |
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: Christian Bejram <christian.bejram@stericsson.com>