Changeset 2654
- Timestamp:
- Apr 18, 2012, 5:44:10 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/lib/model/solr/SolrCommands.class.php
r2649 r2654 46 46 47 47 private function protect() { 48 if (! $this->semaphore) {49 $this->semaphore = sem_get(self::getSemId() );50 }51 sem_acquire($this->semaphore , 1);48 # if (! $this->semaphore) { 49 $this->semaphore = sem_get(self::getSemId(), 1, 0666, -1); 50 # } 51 sem_acquire($this->semaphore); 52 52 } 53 53
Note: See TracChangeset
for help on using the changeset viewer.