Changes between Version 11 and Version 12 of user_synchro
- Timestamp:
- Oct 9, 2018, 7:58:08 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
user_synchro
v11 v12 9 9 * A '''barrier''' is declared by a given user process as a ''pthread_barrier_t'' global variable. 10 10 * A '''semaphore''' is declared by a given user process as a ''sem_t'' global variable. 11 All these user types are implemented by ALMOS-MKH as ''unsigned long'' , but the value stored in user space is NOT used by the kernel. ALMOS-MKH uses only the virtual addressas an identifier for the synchronization variable.11 All these user types are implemented by ALMOS-MKH as ''unsigned long''. The value stored in user space for his variable is NOT used by the kernel. ALMOS-MKH uses only the virtual address of this variable as an identifier for the synchronization variable. 12 12 13 13 As these synchronization variables are used by threads running in different clusters, all access functions use remote_read() / remote_write() primitives.