/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2016, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
* Ron Koenderink, 2007-2009
*/
-/* Required for PTHREAD_STACK_MIN on some systems, e.g. Solaris: */
-#define _XOPEN_SOURCE 500
-
#include <config.h>
#include <errno.h>
void *ud; /* user data */
int wakeup;
void (*ep)(void *); /* entry point */
- pthread_t id; /* thread id */
+ pthread_t id; /* thread ID */
};
struct empth_rwlock_t {
logerror("can not create thread: %s: %s", name, strerror(eno));
goto bad;
}
- empth_status("new thread id is %ld", (long)t);
+ empth_status("new thread ID is %ld", (long)t);
empth_yield();
return ctx;