mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-31 20:14:32 +00:00 
			
		
		
		
	Linux compile needed
This commit is contained in:
		| @@ -39,6 +39,10 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk> | |||||||
| /// | /// | ||||||
| //////////////////////////////////////////////////////////////////////////////////////////////////////////////// | //////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||||||
| #include <semaphore.h> | #include <semaphore.h> | ||||||
|  | #include <fcntl.h> | ||||||
|  | #include <unistd.h> | ||||||
|  | #include <limits.h> | ||||||
|  |  | ||||||
| typedef sem_t *Grid_semaphore; | typedef sem_t *Grid_semaphore; | ||||||
|  |  | ||||||
| #define SEM_INIT(S)      S = sem_open(sem_name,0,0600,0); assert ( S != SEM_FAILED ); | #define SEM_INIT(S)      S = sem_open(sem_name,0,0600,0); assert ( S != SEM_FAILED ); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user