* Added pthread_setconcurrency(), and pthread_getconcurrency() functions.
* Since we use a 1:1 mapping, they don't do anything besides remembering the level set, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24855 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -163,6 +163,8 @@ extern void pthread_exit(void *value_ptr);
|
||||
extern int pthread_join(pthread_t thread, void **_value);
|
||||
extern pthread_t pthread_self(void);
|
||||
extern int pthread_kill(pthread_t thread, int sig);
|
||||
extern int pthread_getconcurrency(void);
|
||||
extern int pthread_setconcurrency(int newLevel);
|
||||
|
||||
extern int pthread_cancel(pthread_t thread);
|
||||
extern int pthread_setcancelstate(int state, int *_oldState);
|
||||
|
||||
Reference in New Issue
Block a user