Changes between Version 13 and Version 14 of library_locks
- Timestamp:
- Sep 27, 2015, 2:26:35 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_locks
v13 v14 44 44 45 45 === '''void sqt_lock_init'''( sqt_lock_t * lock , unsigned int x_size , unsigned int y_size , unsigned int nthreads ) === 46 This function should be called by one single t ask. It allocates both the distributed locks in each cluster (from the distributed heaps), and it initializes the sqt_lock_t variable (that must be allocated in the user application data segment).46 This function should be called by one single thread. It allocates both the distributed locks in each cluster (from the distributed heaps), and it initializes the sqt_lock_t variable (that must be allocated in the user application data segment). 47 47 * '''lock''' : pointer on the sqt_lock_t structure. 48 48 * '''x_size''' : number of clusters in a row.