patch2

text/plain

Filename: patch2
Type: text/plain
Part: 1
Message: Re: Alpha spinlock
*** src/include/port/alpha.h	Sat Sep 30 12:13:21 2000
--- src/include/port/alpha.h-	Sat Sep 30 12:13:21 2000
***************
*** 1,10 ****
  #define USE_POSIX_TIME
  #define DISABLE_XOPEN_NLS
  #define HAS_TEST_AND_SET
! /*#include <sys/mman.h>*/			/* for msemaphore */
! /*typedef msemaphore slock_t;*/
! #include <alpha/builtins.h>
! typedef volatile long slock_t;
  
  /* some platforms define __alpha, but not __alpha__ */
  #if defined(__alpha) && !defined(__alpha__)
--- 1,8 ----
  #define USE_POSIX_TIME
  #define DISABLE_XOPEN_NLS
  #define HAS_TEST_AND_SET
! #include <sys/mman.h>			/* for msemaphore */
! typedef msemaphore slock_t;
  
  /* some platforms define __alpha, but not __alpha__ */
  #if defined(__alpha) && !defined(__alpha__)