Project

General

Profile

Bug #983

pthread_attr_getscope() return garbage as "scope"

Added by Dmitry Moskalchuk almost 6 years ago. Updated almost 5 years ago.

Status:
Open
Priority:
Normal
Category:
-
Target version:
Start date:
06/23/2015
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:
CrystaX Version:

Description

pthread_attr_t attr;
int scope;
pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM); /* <= return 0, i.e. success /
pthread_attr_getscope(attr, &scope); /
<= return 0 (success), but 'scope' contains garbage instead of PTHREAD_SCOPE_SYSTEM */

Also available in: Atom PDF