mingw-w64 pthread.h header: missing 'const' specifier in pthread_attr_getschedpolicy()

Bug #1779391 reported by Lukas Kucera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mingw-w64 (Ubuntu)
New
Undecided
Unassigned

Bug Description

In the pthread.h header, the pthread_attr_getschedpolicy (pthread_attr_t *attr, int *pol) function is declared without 'const' specifier of pthread_attr_t argument. Correct definition should be: pthread_attr_getschedpolicy (const pthread_attr_t *attr, int *pol);

Tags: mingw pthread
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.