mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
sb-safepoint: avoid mention of any semaphore type
As is consistent with the #ifdef at 'struct nonpointer_thread_data'
This commit is contained in:
parent
6d8f7f85f9
commit
a603c8462e
|
|
@ -100,8 +100,8 @@ os_get_errno(void)
|
|||
return errno;
|
||||
}
|
||||
|
||||
|
||||
#if defined(LISP_FEATURE_SB_THREAD) && (!defined(CANNOT_USE_POSIX_SEM_T) || defined(LISP_FEATURE_WIN32))
|
||||
#if defined LISP_FEATURE_SB_THREAD && !defined LISP_FEATURE_SB_SAFEPOINT \
|
||||
&& !defined CANNOT_USE_POSIX_SEM_T
|
||||
|
||||
void
|
||||
os_sem_init(os_sem_t *sem, unsigned int value)
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ extern char *os_get_runtime_executable_path();
|
|||
#define OS_VM_SIZE_FMT PRIuPTR
|
||||
#define OS_VM_SIZE_FMTX PRIxPTR
|
||||
|
||||
#ifdef LISP_FEATURE_SB_THREAD
|
||||
#if defined LISP_FEATURE_SB_THREAD && !defined LISP_FEATURE_SB_SAFEPOINT
|
||||
# ifndef CANNOT_USE_POSIX_SEM_T
|
||||
# include <semaphore.h>
|
||||
typedef sem_t os_sem_t;
|
||||
|
|
|
|||
Loading…
Reference in a new issue