1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 16:00:22 +02:00

* coop-defs.h (struct coop_t): Removed dummy_mutex.

* coop-defs.h, coop-threads.c (struct coop_t): Eliminate
`sto'-field when GUILE_PTHREAD_COMPAT is enabled.
This commit is contained in:
Mikael Djurfeldt 2000-03-30 23:22:50 +00:00
parent 21aab5c929
commit 2f511ab1aa

View file

@ -85,7 +85,9 @@ struct qt_t;
typedef struct coop_t {
struct qt_t *sp; /* QuickThreads handle. */
#ifndef GUILE_PTHREAD_COMPAT
void *sto; /* `malloc'-allocated stack. */
#endif
struct coop_t *next; /* Next thread in the queue. */
@ -118,7 +120,6 @@ typedef struct coop_t {
#ifdef GUILE_PTHREAD_COMPAT
pthread_t dummy_thread;
pthread_mutex_t dummy_mutex;
pthread_cond_t dummy_cond;
#endif
} coop_t;