From b7e0269519cba69b7019e58db6fc0fd15f73de7d Mon Sep 17 00:00:00 2001 From: cebix <> Date: Thu, 21 Feb 2002 15:12:12 +0000 Subject: [PATCH] added dummy Set_pthread_attr() --- SheepShaver/src/Unix/main_unix.cpp | 10 ++++++++++ SheepShaver/src/Unix/sysdeps.h | 3 +++ 2 files changed, 13 insertions(+) diff --git a/SheepShaver/src/Unix/main_unix.cpp b/SheepShaver/src/Unix/main_unix.cpp index f348c31c..3816fba4 100644 --- a/SheepShaver/src/Unix/main_unix.cpp +++ b/SheepShaver/src/Unix/main_unix.cpp @@ -1152,6 +1152,16 @@ static void *tick_func(void *arg) } +/* + * Pthread configuration + */ + +void Set_pthread_attr(pthread_attr_t *attr, int priority) +{ + // nothing to do +} + + /* * Mutexes */ diff --git a/SheepShaver/src/Unix/sysdeps.h b/SheepShaver/src/Unix/sysdeps.h index 12c2fae8..ca3afe36 100644 --- a/SheepShaver/src/Unix/sysdeps.h +++ b/SheepShaver/src/Unix/sysdeps.h @@ -106,6 +106,9 @@ typedef struct timespec tm_time_t; typedef struct timeval tm_time_t; #endif +// Setup pthread attributes +extern void Set_pthread_attr(pthread_attr_t *attr, int priority); + // Various definitions typedef struct rgb_color { uint8 red;