Changes between Version 13 and Version 14 of library_locks


Ignore:
Timestamp:
Sep 27, 2015, 2:26:35 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_locks

    v13 v14  
    4444
    4545 === '''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 task. 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).
     46This 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).
    4747 * '''lock''' : pointer on the sqt_lock_t structure.
    4848 * '''x_size''' : number of clusters in a row.