mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 06:41:13 +02:00
(HAVE_RESTARTABLE_SYSCALLS): Do define even when
SCM_COPT_THREADS is defined. (SCM_SYSCALL): Use EINTR-expection version when SCM_COPT_THREADS is defined.
This commit is contained in:
parent
05166e1aac
commit
845944c3d9
1 changed files with 3 additions and 5 deletions
|
@ -90,14 +90,12 @@
|
||||||
when installing signal handlers.
|
when installing signal handlers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* However, don't assume SA_RESTART works with pthreads... */
|
|
||||||
#ifdef USE_COPT_THREADS
|
|
||||||
#undef HAVE_RESTARTABLE_SYSCALLS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_RESTARTABLE_SYSCALLS
|
#ifdef HAVE_RESTARTABLE_SYSCALLS
|
||||||
|
#ifndef USE_COPT_THREADS /* However, don't assume SA_RESTART
|
||||||
|
works with pthreads... */
|
||||||
#define SCM_SYSCALL(line) line
|
#define SCM_SYSCALL(line) line
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef SCM_SYSCALL
|
#ifndef SCM_SYSCALL
|
||||||
#ifdef vms
|
#ifdef vms
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue